back to home
- HTML tags are element names surrounded by angle brackets
- HTML tags normally come in pairs like "< p > and < / p >"
- The first tag in a pair is the start tag/ opening tag, the second tag is the end tag/ closing tag
- The end tag is written like the start tag, but with a forward slash inserted before the tag name
- 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).
- HTML elements can be nested (elements can contain elements).
HTML documents consist of nested HTML elements.
- HTML tags are not case sensitive: < P > means the same as < p > .
- 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