HTML
ELEMENTS IN HTML
An elements are a fundamental components of the structure of an Html text document.
Some examples of elements are heads, tables, paragraphs and list.
Type of HTML elements
i) Container elements
ii) Empty elements
Container Elements
This type of HTML elements required pair tags. i.e a starting as well as closing tag.
e.g <title>...</title>, <b>...</b>
The end tag is just like the start tag, except that it has a slash (/) in it.
Empty Elements
This type of HTML elements require just a starting tag and not an ending tag, for example <br>, <hr>
Some elements have only on Starting tag, but they do not have a corresponding end tag. Empty tags are just carried out their specific job and do not act on blocks of text.

Post a Comment
0 Comments