Block & Inline tags
HTML - Types of tags - Part 1:
It is important to know how html tags behave on the browser. That is how they display content on the browser and how much amount of space they occupy on the browser. This knowledge will help you when you start laying out your content on the browser.
html paired tag : If any html tag has a separate opening and a separate closing tag,then such html tag is known as paired tag.
Ex: b, u, i, div, p, etc
html unpaired tag: If any html tag has both opening and closing tag in a single tag,then such html tag is known as unpaired tag.
Ex: br, hr, img, etc.
html block level tag: If an html tag always displays the content on the new fresh line and occupies the complete available width of its parent tag, then such html tag is known as block level tag.
Ex: heading tags, p, div etc.
html inline level tag: If an html tag occupies the exact amount of space required to display the content on the browser, and will not move the content to the new line, then such html tag is known as inline tag. (i.e. It puts the content on the same line and wont take any extra space on the browser.)
Ex: b, u, i, font, span etc.
1. Which of the following HTML tag is not a paired tag?