What is Tags and Elements
What is html tags ?
HTML tags are used to build webpage structure, like p, h1, h2, h3, address, b, i, etc.they are used to add content in html,like text, headings, table, list links etc.
Example
<h1>
<p>
<link>
<br>
<etc>
Paired tags
Those tags which have both opening tag and closeing tag are called Paired tags.
Example
<h1>...</h1>,
<div>...</div>,
<span>...</span>,
etc.
Unpaired tags
Those tags which have only starting tag but don't have closing tag are called Unpaired tag. Or in other word those tags which have self closing tag are called Unpare tags
Example
<hr>,
<br>,
<link>,
etc.
What is Elements
Any HTML Tag which have attributes and content is called HTML Element. Element include start tag, end tag, attributes and content inside.
all html elements are build using html tags.
Example
<hr class="output">
<hr class="text">
<hr class="box">
etc.