UK Webmaster Talk - Online Marketing - SEO


 

HTML does and donts

This is a discussion on HTML does and donts within the Website Design Articles forums, part of the Webmaster Articles/Tutorials category; HTML Don'ts Probably the #1 rule is that you should not use "Click here" to point to a document. It ...


Go Back   UK Webmaster Talk - Online Marketing - SEO > Webmaster Articles > Webmaster Articles/Tutorials > Website Design Articles

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices

Reply

 

LinkBack Thread Tools Display Modes
Old 26-06-2005, 18:34   #1 (permalink)
Ultimo Supremo
 
Join Date: May 2005
Location: /public_html/Cgi-bin/
Posts: 1,417
iTrader: 0 / 0%
Morphmaster is a glorious beacon of light
Send a message via MSN to Morphmaster
Default HTML does and donts

HTML Don'ts
  • Probably the #1 rule is that you should not use "Click here" to point to a document. It is best if the text of the link actually has something to do with the content. It also makes bookmarks/hotlinks work much better.
  • Make sure that all graphics and client side image maps on your pages have alt tags for use by people who browse without graphics. Definitely make sure that anything a visitor needs to use to navigate your site is readable in all browsers.
  • Try to use browser specific tags only when appropriate on your web sites- and try to provide alternatives for browsers that don't support these tags (e.g. make sure to provide a noframes option for people without frames capable browsers.)
  • Don't overload your pages with graphics- if you need to use them to enhance the look of your pages, or if they are an integral part of the content on your site, go ahead, but put image sizes on the graphics tags so that they won't slow down loading, and try to reduce the size of the graphics you use as much as possible (the Bandwidth Conservation Society has useful information on this).
  • Don't make everything a header just because you want it to be bold, this is not portable and looks really awful unless the user has exactly the configuration you use.
  • Don't use Netscape (or any other browser specific markup, including MS Internet Explorer) specific markup in public documents. As Netscape proved against Mosaic the life of a browser only exists until the next better browser comes along. Why do all that work only to have to go back in a year or so and redo everything. However, if you are building a private web for some specific purpose it might very well need something that is browser specific. But you should still be aware that by using browser specific features you are going to be stuck with that browser. There are also obviously the cases where public pages simply cannot be done any other way than by using some browser specific feature and by all means, do what you have to do. Basically, I'm just asking that you keep in mind your target audience.
  • And finally, the biggest style error I see (which actually has little to do with HTML) is that people do not pick URL's for their pages that are permanent. How many links have you tried to follow where it ended up that the other end was simply gone or worse, the author had simply renamed the page and makes you hunt for it.

HTML Dos

Some basic tips for creating goof HTML:

  • Use a solid background for pages that contain large amounts of text. A solid background is always a good choice for your web pages. It provides an easy reading surface for your reader and it doesn't distract from the main focus of your page: Your text! When using a solid background, be sure to use a complementary color for your text. For instance, light blue text does not stand out well on a white background.
  • When using frames, always specify a TARGET of "_top" for links that go off your site. That way your visitors won't get stuck in one of your frames.
  • When using image maps, provide text links below the map as well, for users who have turned the display of images off. Also, remember to make your image map graphic as small (in terms of file size) as possible.
  • Use "height" and "width" attributes in the "img" tag when displaying images, so that the user does not need to wait for the image to load before seeing text further down on the page.
  • Include some way for visitors to contact you, i.e. an email address or a feedback form.
  • Be original!
__________________
Thanks
Tom

Have you ever thought what it's like, to be wanderers in the fourth dimension? Have you? To be exiles?
Morphmaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
donts, html

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
I need help with html macca-tom Graphics Forum 11 21-05-2008 21:09
PHP/HTML/MYSQL - for ??$$ KF1 Website Development Forum 0 20-07-2005 17:27
CSS and HTML KF1 HTML, DHTML and CSS 11 19-07-2005 20:13
Html: Fonts Morphmaster Programming Articles 0 26-06-2005 18:05
HTML Images Bmg Programming Articles 0 07-04-2005 16:24


All times are GMT +1. The time now is 22:39.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
UK Webmaster Forum © WebmasterTalk.co.uk | Design by Forbairt

Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41