Arrow

HTML Elements and Attributes

AuthorHariom Prajapati

Pubish Date17 Jul 2022

categoryHTML 5

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.

Example -

HTML

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