Html Tags


Html tags are first step for learning html. These are very easy just need to remember tags for particular use. In this lesson we learn about some html tags which we use in every html page but there functionality are hidden for a user. Html tags are writes in pair, start and end with less than and greater than sign, closing tag start with single / sign for identity like <p   </p>. All html tags are going hidden in output as we see in our first code in previous lesson, make sure a review again.

  1. <!DOCTYPE html> : That means we are using HTML5 and in this document we use all html 5 tags or codes.
  2. <html>   </html> : The text inside the block describes an HTML document.
  3. <head>   </head> : Provides information about the document.
  4. <title>   </title> : Provides a title for the document.
  5. <body>   </body> : Describes the visible page content.
  6. <h1>   </h1> : Describes a heading.
  7. <p>   </p> : Describes a paragraph.

Various version of Html

Html5

	<!DOCTYPE html>

Html 4.01

	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

XHtml 1.0

	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Wconcert India © 2015   ·   All Rights Reserved

Free Web Hosting