# HTML Elements

An HTML file is made of elements. These elements are responsible for creating web pages and defining content on that webpage.

HTML Elements: It consists of 3parts.

* **Opening tag**: It is used to tell the browser where the content material starts.
    
* **Closing tag**: It is used to tell the browser where the content material ends.
    
* **Content**: It is the actual content material inside the opening and closing tags.
    
* **Syntax:**
    
    &lt;opening tag&gt; content &lt;/closing tag&gt;
    

**Example:**

`<!DOCTYPE html>`

`<html>`

`<head>`

`<title>HTML Elements</title>`

`</head>`

`<body>`

 `<h2>Welcome To Ineuron.ai</h2>`

`<p>I write Code</p>`

`</body>`

`</html>`

**OUTPUT:**

## `Welcome To Ineuron.ai`

`I write Code`

* (**Note**: Some elements do not have an end tag and content, these elements are known as **Empty tags.** Such as **&lt;br&gt;,&lt;hr&gt;** tags)
