An HTML element is explained by a start tag, few content, and an end tag. HTML element is the whole thing from the start tag to the end tag. Examples are below:-
<p>First paragraph.</p> <h1>First Heading</h1> <h2>2nd Heading</h2> <h3>3rd Heading</h3> <h4>4th Heading</h4> <h5>5th Heading</h5> <h6>6th Heading</h6> |
Start
tag |
Content
of element |
End tag |
<p> |
First
paragraph |
</p> |
<h1> |
First
Heading |
</h1> |
<br> |
none |
none |
.
Reminder: Few HTML elements have no content
(such as <br> element). Those are empty elements. Empty elements do not
contain end tag! For more detail you can visit Tags in
html page.
2 Comments
I had no idea what a blog was or how to start one
ReplyDeleteweb design company in chennai
This comment has been removed by the author.
ReplyDelete