Using Native to get Node element offset attribute

as mentioned above, elements that get offset attributes of elements on the Internet use getelementID,. If you want to get elements with only class, what method do you use?

Mar.28,2021

get (getElementById) through ID
through name attribute (getElementsByName)
by signature (getElementsByTagName)
get html through class name (getElementsByClassName)
method (document.documentElement)
get body method (document.body)
get an element through selector (querySelector)
get a set of elements through selector (querySelectorAll)

original address

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36e3e-2b599.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36e3e-2b599.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?