--- HTML Tags: Tags are the starting and ending parts of an HTML element. They begin with < symbol and end with > symbol. Whatever written inside < and > are called tags.
Example:
<i></i>
---HTML elements: Elements enclose the contents in between the tags. They consist of some kind of structure or expression. It generally consists of a start tag, content and an end tag.
Example:
<i>Tech code which helps you to learn easy and better way.</i>
Output:-
Tech code which helps you to learn easy and better way.
---HTML Attributes: It is used to define the character of an HTML element. It always placed in the opening tag of an element. It generally provides additional styling (attribute) to the element.
Example: <p style="height: 50px; color: blue">It will add style property in element</p>
Output:-
It will add style property in element
0 Comments