The title tag

We’re on day three. Tagtober is going great! So here is one of the most important tags you have to have to make a webpage. Although, technically a webpage can display without it, it’s not wise to. The <title> tag also has a closing tag. <title></title> It displays the title of your page. Eg: My webpage. If you leave it blank then it will display the root. What do I mean? Say if you have your document in a folder on your computer. It’s going to display something like: //My Documents://My Webpage//index.html. Along those lines. If you upload that to the internet then it will be along the same lines but with the host’s information instead. You definitely don’t want that. You also want people to find your website and the title tag helps them do that. So let’s continue our example:

<html>

<head>

<title>My Webpage</title>

</head>

</html>

See you tomorrow!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s