Learning the head tags.
The <head> tag contains information
that will not necessarily be displayed on the page but instead for
formatting of the page or for <meta> tags. The <head>
tag itself does not have any attributes. The information we will
be discussing here is contained between the <head></head>
tags.
Title
The most common tag between with the heading is the <title>
tag. This tag contains the information that will be displayed in
the blue bar of your browser. If this tag is left out, the page
name will be displayed instead. The title tag for this page is,
<title>Jaredshelp.com - HTML Basics
- Learning the Head Tags.</title>
You can name your page whatever you want. The title could be displayed
in a search engine if your page meets the search criteria. In this
instance, a page title would be more likely to catch someone's eye
as opposed to a file name such as htmlbasics2.htm.
Meta
<Meta> tags can contain a lot of different information.
The two most common meta tags are the keywords and the description.
The meta tag is different because it has two attributes that need
to be present for most of its uses. You can also use a meta tag
to make the page refresh itself or be rolled over to another site.
A few examples of the meta tag are below.
<meta name="keywords" content="put,
your, keywords, here, separated, by, commas">
<meta name="description" content="Put
the description of your site in one sentence if possible.">
There are a few other meta tags but we don't need to learn these
just yet. Let's go to the the links tutorial
and learn how to make our pages go to each other.
Now lets go to
Links tutorial
|