Html Readers

HTML Home

|| « Go to Home || || Go to next » ||

HTML is a Hypertext Markup language for creating web pages by using various standard HTML tags. HTML describes the contents of your web page such as heading, images, paragraph, links, lists etc. The basic tags are used for developing HTML web page structure along with Images and text and display into the web browser. The tags also are known as HTML elements.

You can create your own Web site and any web application by using HTML. Through this tutorial, we are trying to teach you everything about HTML.


Basic Html Elements and Tags


Code Name Description
<html> ......</html> Container Tag Contain all html tag .
<head>......</head> Heade Tag Contain page header information .
<body>......</body> Body Tag Make a body of the page .Display resources and content of the html web page.
<title>......</title> Title Tag Dispay title of the page into browswer title bar.

Examples

Here are two following examples of HTML, one for HTML5 and second for HTML4. They will display same output in the browser. There is one different between them that is they have different document type declaration


Example - HTML 4
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>This is document title.</title>
</head>
<body>
<h1> This is a heading</h1>
<p>Paragraph -Document description goes here......</p>
</body>
</html>
Example - HTML 5
<!DOCTYPE html>
<html>
<head>
<title>This is document title.</title>
</head>
<body>
<h1> This is a heading</h1>
<p>Paragraph -Document description goes here......</p>
</body>
</html>

   Note: The both example will display same output in browse.

Refrences


Tags and Elements




|| « Go to Home || || Go to next » ||