crop_rotate
Run
<!DOCTYPE html> <html> <head> <title>get element by query Selector all JavaScript</title> </head> <body> <h1>Welcome To Dom</h1> <p> Get element by id name</p> <p> Get elements by class name</p> <p> Get elements by tag name</p> <p> Get elements by name</p> <script> let paragraphs = document.querySelectorAll('p'); //Check Console document.write(paragraphs.length); </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHRpdGxlPmdldCBlbGVtZW50IGJ5IHF1ZXJ5IFNlbGVjdG9yIGFsbCBKYXZhU2NyaXB0PC90aXRsZT4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+IDo6LXdlYmtpdC1zY3JvbGxiYXJ7d2lkdGg6N3B4O2hlaWdodDo3cHg7fTo6LXdlYmtpdC1zY3JvbGxiYXItdHJhY2t7YmFja2dyb3VuZDojZmZmO306Oi13ZWJraXQtc2Nyb2xsYmFyLXRodW1ie2JvcmRlci1yYWRpdXM6NXB4O2JhY2tncm91bmQ6IzJmNDVmZjt9PC9zdHlsZT48L2hlYWQ+DQo8Ym9keT4NCiAgIDxoMT5XZWxjb21lIFRvIERvbTwvaDE+DQogICA8cD4gR2V0IGVsZW1lbnQgYnkgaWQgbmFtZTwvcD4NCiAgIDxwPiBHZXQgZWxlbWVudHMgYnkgY2xhc3MgbmFtZTwvcD4NCiAgIDxwPiBHZXQgZWxlbWVudHMgYnkgdGFnIG5hbWU8L3A+DQogICA8cD4gR2V0IGVsZW1lbnRzIGJ5IG5hbWU8L3A+DQogICAgPHNjcmlwdD4NCiAgICAgICAgbGV0IHBhcmFncmFwaHMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCdwJyk7DQogICAgICAgIC8vQ2hlY2sgQ29uc29sZQ0KICAgICAgICBkb2N1bWVudC53cml0ZShwYXJhZ3JhcGhzLmxlbmd0aCk7DQogICAgPC9zY3JpcHQ+DQo8L2JvZHk+DQo8L2h0bWw+