Horje
What is HTML Element

An HTML element is defined by a start tag, some content, and an end tag:

Content goes here...

The HTML element is everything from the start tag to the end tag:

 

My First Heading

 

 

My first paragraph.

 

Start tag Element content End tag

 

My First Heading  

 

My first paragraph.

 

  none none

Note: Some HTML elements have no content (like the
element). These elements are called empty elements. Empty elements do not have an end tag!


Example of HTML Elements

The HTML element is everything from the start tag to the end tag:
index.html
Example: HTML
 <tagname> Content goes here... </tagname>
<h1>My First Heading</h1>
<p>My first paragraph.</p> 






Related Articles
What is HTML? HTML Introduction
What is HTML Code HTML Introduction
What is HTML Element HTML Introduction
How to view HTML Page in Web Browsers HTML Introduction
How should be HTML Page Structure HTML Introduction
What is HTML History HTML Introduction

Single Articles
Example of HTML ElementsHTML Introduction

Read Full:
HTML Introduction
Category:
Web Tutorial
Sub Category:
HTML Introduction
Uploaded by:
Admin
Views:
326


Reffered: https://www.w3schools.com/html/html_intro.asp