About the Tutorial
HTML began in the early 1990s as a short document that detailed a handful of elements used to build Web pages. Many of those elements were for describing Web page content such as headings, paragraphs, and lists. HTML’s version number has increased as the language has evolved with the introduction of other elements and adjustments to its rules. The most current version is HTML5. Technically, HTML is not a programming language, but rather a markup language. In this tutorial, we will discuss the features of HTML5 and how to use it in practice.
What is HTML?
HTML is the standard markup language for creating Web pages.
- HTML stands for Hyper Text Markup Language
- HTML describes the structure of Web pages using markup
- HTML elements are the building blocks of HTML pages
- HTML elements are represented by tags
- HTML tags label pieces of content such as “heading”, “paragraph”, “table”, and so on
- Browsers do not display the HTML tags, but use them to render the content of the page
Basic structure of an HTML document
<h1>HTML5 Document Structure Example</h1>
<p>This page should be tried in safari, chrome or Mozila.</p>
<p>Created by <a href=”http://www.tutorialplus.info/”>Tutorial Plus</a></p>
<!DOCTYPE html>declaration defines this document to be HTML5
<html>element is the root element of an HTML page
<head>element contains meta information about the document
<meta charset>tells the browser what set of characters to use when converting the bits to characters
<title>element specifies a title for the document
<body>element contains the visible page content
<h1>element defines a large heading
<p>element defines a paragraph