Here are some common html tags that you will need to know when creating your pages. When you learn these tags, you will be set to create compliant pages that look great and contain all your information.
Once you have created a template for the layout of your pages, you can reuse the same one each time, changing only the specifics such as the title, the font type, color, size, etc. These secrets to HTML tags below will help you create your pages quickly and easily.
Title Tags
put your keyword phrases here
META Tags
Href Tag
This is the tag that explains to your browser how to find fonts and other items you place in your CSS or style sheets.
If you have a unique page:
/*This is for all base fonts only*/
.base {
font-family: Verdana, Arial, Helvetica, sans serif;
font-size: 10pt;
font-style: normal;
line-height: normal;
font-weight: normal:
color: #000000;
background-color: #ffffff;
text-align: left;
padding-left: .3cm;
padding-right; .3cm;
}
/*End of base fonts only*/
Favicon
If you choose to use a favicon (that little icon that shows in the browser before the http:// part of the link), then you need to know how to insert your favicon. Use the code below:
Head
Remember to use your head and head closer . If you use Javascript on your page, it will usually go here in the header section as well.
Now for the rest of your page, you will need to know:
The body of your page can go in the tags like this.
If you have multiple headlines, you will write them as:
Headline 1
Headline 2
Headline 3
Headline 4
Headline 5
This will add emphasis to your type (in most browsers, this adds italics)
This will add emphasis to your type (in most browsers, this adds boldface)
There are of course, many more html tags to learn, but when you have these important basics, you can do most anything you want to do with your web page while still remaining in compliance with the W3C.
Remember, you can use the W3C validater at http://validator.w3.org/ by simply putting in the URL of the page you want checked. It will verify whether the page you constructed is XHTML compliant.