|
|
| |
> Get Articles > Web Site Design > Clean Up That Code!
Clean Up That Code!
Download as PDF
Windsong
webmastermarketing-resources.com
Marketing Resources
http://marketing-resources.com/
You have permission to publish this article electronically
or in print, free of charge, as long as the bylines are included.
Only the author may edit. If you must edit, please don't publish.
A courtesy copy of your publication would be appreciated but not
necessary.
CLEAN UP THAT CODE!
by: windsong
How do you write your code so that it shows up on all or
most browsers the way you want it to look? By understanding
which browsers support which tags, and using a validation
service to check your code.
There are different tags that sometimes do the same thing.
The problem here, is that some browers read some tags and
not others. If the browser can't read your tags, it will
cause your page to appear in some way other than what you
intended. The trick is to write your code in such a way
that all, or at least most browsers can read and display
it the way it is supposed to be.
You will find an HTML Tag List at:
http://www.ncdesign.org/html/list.htm You can use this
as you are writing your code and avoid some pitfalls. It
only covers Netscape and Internet Explorer. These are the
most used browsers, and probably includes about 80 percent
or more of the online crowd.
You can check your html code by going to a validation
service like Net Mechanic. You will find a link to this
and other validation services at:
http://marketing-resources.com/utilities.html This can
be a humbling experience. It checks your code and gives
you all the errors and warnings.
Do your corrections, and check it again. You may have to
do this a couple of times to end up with no errors.
There is no reason not to have perfectly clean HTML code.
Learn the tags and which browers support them, and you
are almost home. Then just run it through a validator.
Now the world sees your page the way it really is.
Copyright © 2001, windsong
«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»
Subscribe to windsong's free e-zine:
All About Web Design!(tm) Send a blank email to:
mailto:AllAboutWebDesign-subscribeyahoogroups.com
Download a free ebook, "Web Design Course" here:
http://marketing-resources.com/design.exe
«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»
How useful did you find this article?
This article can be downloaded freely from http://www.get-articles.com and used on your website or in your ezine so long as the author is credited and their resource box left intact. You should not change any links in the article, and where the article is used on a website it's links should be clickable. Please see our terms and conditions page for more information: http://www.get-articles.com/authors-publishers-terms.php
|
|

|
|