ABOUT CONTACT
Home Next Page
Top

HTML Introduction

HTML stands for Hyper Text Markup Language.
HTML is the standard markup language for creating Web pages.
HTML defines the structure of a Web page.
HTML consists of a set of tags and attributes used to define the webpage Ex: text, images, links forms and more
Easy to understand and create webpages.

HISTORY

Created by Tim Berners-Lee in 1989.
The first version of HTML i.e., HTML 1.0 was released in 1991
Subsequent version was released in 1995 HTML 2.0, 1997 HTML 3.2 and 4.0, 1999 HTML 4.01 and many more.
And the latest version HTML5 was released in 2014.

HTML Structure

EXAMPLE:

<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  <body>
    <h1>Heading 1</h1>
    <p>Paragraph text</p>
  </body>
</html>

Run


<!DOCTYPE html> - It is a declaration that defines a document is an HTML5 document
<html> - It is a root of a HTML Page
<head> - Under the element it contains the meta information about the HTML page, stylesheets and scripts.
<title> - It specifies the title of the page
<body> - The main content of the page where we include text, links, images, forms and more. And there are many tags that are used in html so of them are <h1>, <p>, <a>, <img>. Get to know about the tags here

The <!DOCTYPE> Declaration

It is a declaration that defines a document is an HTML5 document
It must only appear once in a documant and at the top of the page i.e., before any HTML tags
The <!DOCTYPE> declaration is not case sensitive.

EXAMPLE:

<!DOCTYPE html>

Run


Home Next Page