Elements
Elements are nodes in a web page that have an associated tag name, a set of attributes which may have associated values, and child nodes.
Tags are syntax for opening and closing elements. Elements are structural components of an HTML document.
Children
- a (anchor)
- body (document body)
- br (line break)
- button
- datalist (predefined options)
- dialog
- div (content division)
- form
- h1-h6 (section headings)
- head (document metadata)
- html (root)
- img (image)
- input
- label
- li (list item)
- link
- main
- meta (metadata)
- ol (ordered list)
- option
- p (paragraph)
- select
- style
- textarea (multi-line input)
- title
- ul (unordered list)