What is HTML?

HTML Introduction

HTML or Hypertext Markup Language is the standard markup language used for creating Web pages and web applications. Every webpage has to use HTML to be shown in a web browser. HTML is a markup language.

What is Markup language?

It is a computer language which uses different tags to specify different elements in a document. Human can read and write the language quite easily as they have standard words as tags unlike programming languages. There are two famous Markup languages in these days are HTML and XML.

  • Markup is used to describe the structure of Web pages by HTML
  • HTML pages are created using HTML elements as building blocks
  • HTML tags are used to represent HTML elements
  • HTML tags are used to describe a piece of content in a web page like “paragraph”, “heading”, “table” etc.
  • HTML tags are not shown by the browsers as they are used to render the content of the a web page

HTML Tags

HTML tags use angle brackets to surround the tag names as:

<tagname>contents</tagname>

There are opening and end tags usually used for various HTML tags.

See list of HTML tags

HTML in Web Browsers

HTML documents are displayed in the web browsers. All the browsers like Chrome, IE, Firefox, Safari etc. are used to render HTML documents.

The HTML tags are not shown by the browsers but they are used to decide how to display the document.

HTML Page Formation

HTML code or HTML page structure:

<html>
   <head>
      <title>Title</title>
   </head>
   <body>
       <h1>Heading</h1>
       <p>Paragraph 1.</p>
       <p>Paragraph 2.</p>
   </body>
</html>

Note:  <body></body> is the only place to for the contents to be shown on the browser.

For more detailed information What HTML Stands For

HTML Versions

Since the early days of the web, there have been many versions of HTML:

HTML Versions in different years.

HTML in 1991

HTML 2.0 in 1995

HTML 3.2 in 1997

HTML 4.01 in 1999

XHTML in 2000

HTML5 in 2014

Comments