Author: Larry Lang
Secrets of HTML Tags
When creating your websites to be W3C compliant, you know
that HTML tags are important. You will need to include
these tags throughout the pages and be sure to do them in
the proper format so that your pages come out the way that
you want them to.
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.
Head
Remember to use your head opening tag <head> and head
closing tag </head> . If you use Javascript on your
page, it will usually go here in the header section as well.
Title Tags
<title> put your keyword phrases here</title& gt;
META Tags
<meta name="description" content="this is your web page
description" />
<meta name="keywords" content="this is where your
keywords and phrases go" />
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.
<link href="your-style. css" rel="stylesheet"
type="text/css" />
If you have a unique page:
<style type="text/css" > .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; }
Favicon
To insert your favicon, (that little icon that shows in the
browser address bar before the http:// part of the URL) use
the code below:
<link rel="shortcut icon"href="/ favicon.ico" />
This is where you will place your head closing tag
</head> , and then proceed with the body of your
document.
Body
<body> The body of your page will go in between these
tags.</body& gt; If you have multiple headlines, you
will write them as:
<h1>Headline 1</h1> <h2>Headline
2</h2> <h3>Headline 3</h3>
<h4>Headline 4</h4> <h5>Headline
5</h5>
<p>Insert your paragraph inside these tags.
</p> <em>This will add emphasis to your
type</em& gt; <strong> This creates bold
text.</strong& gt;
There are of course, many more html/xhtml 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.
About the Author:
– Resource Box –
This article may be distributed freely on your website, as
long as this entire article, including working links and
this resource box are unchanged. For more tools, tips, and
tricks of the trade, go to:
http://www.eliteweb strategies. com - Empowering You to
Empower Your Business. Copyright 2007 Larry Lang All Rights
Reserved. Lang Enterprises Inc.
No comments:
Post a Comment