HTML Elements

Every HTML Document is made of HTML Elements.

An Element in HTML generally consist of a start tag <tag name>,close tag </tag name>.content placed between the tag.

HTML Element Syntax

# Start Tag Content End Tag
1 <p> This is paragraph content. </p>
2 <h1> This is heading content. </h1>
3 <div> This is division content. </div>
<p> Content-------- </p>   
html element syntax


<!DOCTYPE html>
    <title>This is Title</title>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>

Click on the "Run This Code" button to see how it works.

HTML Element vs Tag

Every HTML Element is the set of start tag and Attributesand an end tag.


Welcome HTML Getting Started HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Links HTML Styles HTML Text Formatting HTML Tables HTML Images HTML Forms HTML Lists HTML Iframes HTML Comments HTML CSS HTML Colors HTML Classes HTML Id HTML javascript HTML Filepaths

HTML Advanced

HTML Doctypes HTML Validation HTML Validation HTML URL HTML URL Encode HTML URL Entities HTML Layout HTML Head HTML Meta HTML Scripts HTML Tags

HTML Media

HTML Media HTML Audio HTML Video HTML Plug-ins HTML Youtube

HTML Graphics