About
element in HTML
Articles Related
Syntax
<startTag>
content
</endTag>
where:
-
- In HTML, Tag name of an element are case-insensitive.
- In XHTML, tag names are case sensitive and must be written in their canonical case. In general, the canonical case is lowercase for HTML.
A Tag may be still open and still design a empty element. This elements are known as void elements
Example: What is the HR HTML tag? (Horizontal Rule) may be written
<hr>
Category
Each element in HTML falls into zero or more categories that group elements with similar characteristics together. See Content type
Space characters
The space characters are always allowed between elements. User agents represent these characters between elements in the source markup as Text nodes in the DOM.
Active
DOM Management
See DOM - Element