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 -