• Things in the head tag are things that shouldn’t be rendered: information about the page and how to process it.
  • Things in the body tag are the things that should be displayed: the actual content.
  • JavaScript in the body is executed as it is read and as the page is rendered.
  • JavaScript in the head is interpreted before anything is rendered.
    src: MDN HTML basics
    HTML Body


class is the attribute name and editor-note is the attribute value.

bold = <p>My cat is <strong>very</strong> grumpy.</p>

image = <img src="images/firefox-icon.png" alt="My test image">

  • Anything in HTML between <!-- and --> is an HTML comment.