HTML Tutorial

HTML Stands for Hypertext Markup Language

HTML is a document that contains text, images, tables, lists, forms and other elements.

Web browsers read and display documents that contains Html.

HTML elements are represented by tags, which gives instruction to the web browsers on how the document should appear.

HTML tags normally come in pairs like <div> and </div>

The first tag in a pair is the start tag and the second tag is the end tag.

The end tag is written like same as start tag but with a forward slash

ex.<p> This is the start tag

</p> This is the end tag

History of HTML

HTML was originally developed by Berners-Lee in 1990. He is also known as the father of the web. In 1996, the World Wide Web Consortium (W3C) became the authority to maintain the HTML specifications. HTML also became an international standard (ISO) in 2000. HTML5 is the latest version of HTML. HTML5 provides a faster and more robust approach to web development.

A Simple HTML Document

Example
<!DOCTYPE html>
<html>
<body>

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

</body>
</html>

Example Explained

<!DOCTYPE html> defines this document to be HTML5

<html> element is the root element of an HTML page

<head> element contains meta information about the document

<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