Using Title Tag in HTML
As in last part we gathered information
on Web hosting and Domain and learnt some basics of HTML. If you didn’t read #1
and #2 then you may get your doubts unclear.
First let’s open the test file we
created in last post of HTML.
Right click on it then select ‘Open
With’ option then select Notepad or you Text Editors name. Then you will see
you HTML code. In this post/blog we will learn about <head> part of the
HTML. First Start the HTML code by <html> and end by </html>.
Give space in between these 2 tags and
type <head> and </head>, if you don’t know what is head then read
the 2nd part of this series you will surely get it.
You can right in any way either
horizontal or vertical but, vertical way looks more easy and simple to
understand and horizontal is some kind of complicated. Make your horizontal
code in this way.
Now it looks simple to understand the
code. Now remember if you make any HTML document make in this way so it is easy
to understand.
Now we will learn about new tag which is
<title> tag. It is used to change the webpage name from its file name
like test.html will be test. So let’s use it in our test file. Under head tags
type <title> </title> and between these two tags type your webpage’s
Title Name.
Input
Output
Now you have learnt that how to add
title in your webpage.
0 Comments