back to home

About HTML tags

  1. HTML tags are element names surrounded by angle brackets
  2. HTML tags normally come in pairs like "< p > and < / p >"
  3. The first tag in a pair is the start tag/ opening tag, the second tag is the end tag/ closing tag
  4. The end tag is written like the start tag, but with a forward slash inserted before the tag name
  5. HTML elements with no content are called empty elements. Empty elements do not have an end tag, such as the < br > element (which indicates a line break).
  6. HTML elements can be nested (elements can contain elements). HTML documents consist of nested HTML elements.
  7. HTML tags are not case sensitive: < P > means the same as < p > .
  8. Browsers display < strong> as < b> , and < em> as < i> . However, there is a difference in the meaning of these tags: < b> and < i> defines bold and italic text, but < strong> and < em> means that the text is "important".
HTML tags
< button > < hr> < sub> & < sup> < br> & < pre> < b> & < strong> < i> & < em> < small> < mark> < del>
< ins> & < u> < p> < q> & < blockquote> < bdo>