HTML tags

  • “Tags” that define what type of content the HTML is. For example h1 tells the browser that this is a H1 element. div tells the browser that this is a Div.
  • In Client-first, we define certain styles at the tag level. This means that styles are defined for an HTML tag rather than a class.
  • For example, if we style H1 with color: blue. It will style all H1 elements with color: blue, even if there is no class on the element.

Learn more on the Intro and Typography Strategy pages.