HTML Basic

HTML Documents

All HTML documents must start with a document type declaration: .

The HTML document itself begins with  and ends with .

The visible part of the HTML document is between  and .


<!DOCTYPE html>

<h1>My First Heading</h1>
<p>My first paragraph.</p>


HTML Headings

HTML headings are defined with the 


 defines the most important heading. 
 defines the least important heading: 


<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>

Related Tutorials