HTML BASICS (3)

The browser recognizes a HTML file with the help of <html>…</html> tags pair. Every html tag or element is written in between these tags. There are two sections of the document between this tag pair:

  • Head Section
  • Body Section

<script type=”text/javascript” src=”http://www.bluehost.com/src/js/securedlink/CODE14/488×160/bh_488x160_02.gif”></script>

The overall basic structure of an HTML file is:

<html>

 

<head>

</head>

 

<body>

</body>

 

</html>

 

  • HEAD SECTION:

The <head> and </head> tags identify the start and end of this section. In this tag title of document can be defined. The title of document can be defined using <title>…</title> tag pair. The text mentioned in between title tag should be less than and equal to 60 characters.

<script type=”text/javascript” src=”http://www.bluehost.com/src/js/securedlink/CODE109/468×60/bh_468x60_05.gif”></script>

  • BODY SECTION:

The <body> and </body> tags identify the start and end of the body section. This section includes material to be displayed on web page. Moreover this section includes information about layout of web page.

<script type=”text/javascript” src=”http://www.bluehost.com/src/js/securedlink/CODE108/468×60/bh_468x60_02.gif”></script>

HTML Files Titles:

This example result will open a HTML document in your browser with a title: “Website-School/HTML Basics example 1”. Moreover it will contain some text in its body section using <p>….</p> tag. This tag is explained in HTML Paragraph chapter.

<html>

 

<head>

<title>Website-School/HTML Basics example 1</title>

</head>

 

<body>

<p> This text is displayed using paragraph tags inside the body tags.</p>

</body>

 

</html>

<a href=”http://secureabc.maverick66.hop.clickbank.net”><img src=”http://www.maverickmoneymakers.com/affiliates/banners/mavmoney-468×60.gif”></a>

 

For more visit next posts in this category.To go back to Contents of this tutorial: Contents of HTML Tutorial

email

One Response to HTML BASICS (3)

  1. I like the theme on the blog. Is it downloadable anywhere?

Leave a Reply