Tuesday, December 10, 2013

Title and Head tag (PART_04)

Topic: How to set the title of the html page?
Head Tag!

Explanation
Code:

 <html>
<head>
</head>
</html>
It is like the head of a human, because it is used to identify the file. head tag should lie inside "html" tag. head tag has many purposes. But at this point we will discuss only one of its tags <title>.Other tags as <script>, <style>, <meta> will we taught later.

Title: This tag is used to set the title of the page. The title will be displayed on the left top corner of the browser page. This tag should be present inside "title" tag as

<html>
<head>
<title>
 My Page </title>


</head>
</html>
Test It: Copy the code or type the code in to the textbox shown below and click show. The Page will be blank, check the title of the page. You will have the title as My Page. 


Top of Form



 







Bottom of Form

 


Show