getquery by element code example
Example 1: js queryselector names
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');
Example 2: jquery get element by tag
$( "div" ).css( "border", "9px solid red" );
Example 3: dom queryselector
// TO select all the h1 from Html
document.querySelectorAll("h1")
//To select h1 from a particular class or id
document.querySelector(".className/#id h1")