HTML Elements

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.



Post a Comment

2 Comments

Emoji
(y)
:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
x-)
(k)