HTML Elements

HTML Elements

This HTML element starts with the start tag <body>, and ends with the end tag </body>

The basic elements of an HTML page are : 

Comments in HTML  

 <!-- This is a comment -->

Headings

<h1>This is a heading H1 </h1>
 <h2>This is a heading H2 </h2>
 <h3>This is a heading H3 </h3>
<h4>This is a heading H4 </h4>
 <h5>This is a heading H5 </h5>
<h6>This is a heading H6 </h6> 

Paragraphs

<p>My Paragraphs </p>

Line Breaks

<p>My paragraph 1st Line <br> My paragraph 2nd Line.</p>

Horizontal Rule

<hr>

Link

<a href=''>And other page open</a>

List

<ul> (unordered list), <ol> (ordered list) and <li> (list element) tags

Image

<img src=''>

Divider

<div>Text Here</div>

Text Span

<span>Text Here</span>

Share This:

No comments:

Post a Comment

Advertiser
Counter
Flag Counter