Thursday, November 21, 2013

Title and Head tag >> html, head, body

Posted by Bit Version
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 text box shown below and click show. The Page will be blank, check the title of the page. You will have the title as My-Page.




0 comments:

Post a Comment