|
Website
Design Tips: HTML, JavaScript codes, tips, tricks and techniques
Web
Source Web Design Tips
by Shelley Lowery
Hidden Keywords
The COMMENT tag is used to display text within your HTML
document that will not be visible on your webpage. They
enable you to mark the beginning and end of sections in
your HTML code for easy editing.
You can use the COMMENT tag to place your most relevant
keywords for better Search Engine ranking.
Not all Search Engines acknowledge keywords within the
comment tag, but for the ones that do, it's well worth
taking the time to use them.
<!--Begin Health and Fitness Navigation-->
<!--End Health and Fitness Navigation-->
Tip provided by: Web Source: Your Guide to Professional
Web Design and Development.
http://www.web-source.net
----------------------------------------------------------------------
Web Source Web Design Tips
by Shelley Lowery
Web Page Linking Methods
The ANCHOR tag is used to create a hyperlink.
To link to a page within the same directory of your
website, you only need to include the page name within
your HTML code.
Example: <A HREF="yourpage.html">
When linking to a page within your website in a different
directory, you must include the directory name with your
page name.
Example: <A HREF="yourdirectory/yourpage.html">
When linking to another website, you must include the full
URL beginning with http://www.
Tip provided by: Web Source: Your Guide to Professional
Web Design and Development.
http://www.web-source.net
----------------------------------------------------------------------
Web Source Web Design Tips
by Shelley Lowery
Enlarging Text Without the Font Tag
The BIG tag is used to increase the size of your font.
You can add additional BIG tags, side by side, to increase
your font size even further. For each additional BIG tag you
use, your font size will increase.
Example:
<BIG>Your Text</BIG>
<BIG><BIG>Your Text</BIG></BIG>
The BIG tag can be used in place of the FONT tag, as they
both perform the same task.
Example:
<FONT size="3">
Tip provided by: Web Source: Your Guide to Professional
Web Design and Development.
http://www.web-source.net
----------------------------------------------------------------------
Web Source Web Design Tips
by Shelley Lowery
Set Parameters Within the BODY Tag
The BODY tag follows the HEAD tag within your HTML. The
contents of your web page is displayed between the BODY
tags. This includes everything displayed when viewed
through a web browser.
You can set parameters within the BODY tag that will be
used throughout your web page. It isn't necessary to
set parameters, as there is a default setting, but if
you'd like your page to be displayed with colors other
than the default, you have the ability.
Background and Text Colors:
<body BGCOLOR="#FFFFFF" TEXT="#000000">
Image Background:
<body BACKGROUND="/yourimage.gif">
Link Colors:
<body Link="#0000C0" ALINK="#0000FF" VLINK="#FF0000">
Tip provided by: Web Source: Your Guide to Professional
Web Design and Development.
http://www.web-source.net
----------------------------------------------------------------------
Web Source Web Design Tips
by Shelley Lowery
Using Font Alternatives
The FONT tag is used to display your text in a specific
style. If your visitor doesn't have the font you specify
on their computer, the font will be displayed in the users
default font setting. To make sure your pages are being
viewed as you intended, set up alternative fonts.
<FONT face="Verdana,Helvetica,Arial">Your Text</FONT>
This will tell the browser to display your text in
"Verdana," but if your visitor doesn't have "Verdana" to
display your text in "Helvetica" and so on.
In addition, you can add attributes within your font tag
to display your text at a specific size and color as well.
There's no need to create separate tags.
<FONT face="Verdana,Helvetica" size="2" color="#FF0000">
Your Text</FONT>
Tip provided by: Web Source: Your Guide to Professional
Web Design and Development.
http://www.web-source.net
|