HTML Getting Started



Get Started

In this HTML Tutorial we will learn How to create a HTML Document.

Creating Our First HTML Document

Example

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>


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



Explanation of This Example

  • The <!DOCTYPE html>defines this document is an HTML5 Document.
  • The <html> element is the main element of an HTML Document.
  • The <head> element describe meta information about the HTML Document.
  • The <head> element describe meta information about the HTML Document.
  • The <title> element defines a title for the HTML Document .
  • The <body> element defines visible contents, such as headings, paragraphs, hyperlinks, tables, lists, images and more .
  • The <h1> element defines a Big heading.
  • The <p> element defines a paragraph.






HTML

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

HTML Canvas HTML SVG