clock  Mon - Sun 8.00 AM - 8.00 PM
mail  edu@teknowize.com
fb
instagram
play store
pinterest

More

HTML Elements and Attributes

Imperial Advance Hero Image

HTML Elements and Attributes

HTML Elements

An HTML element usually consists of a Start Tag and Close Tag.

Example - 

Start Tag
Content
End Tag
<p>
This is paragraph content
</p>
<h1>
This is heading content
</h1>
<div>   </div>
<br/>    

 

 HTML Attributes

Attributes provide additional information about an Element and Attributes are always specified in the Start Tag.

Note :- All Attributes are made up of two parts , a Name and a Value & Attributes Name and Attributes Value are Case-insensitive.

Example -

HTML

HTML 5