Note: When a browser reads a style sheet, it will format the HTML document according to the information in the style sheet. jQuery code. Difference between

tag and
tag. May be helpful for someone. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: document.getElementById("myH1").style.color = "red"; var x = document.getElementsByTagName("STYLE")[0];   // get the first