HTML Guidelines
From Fishcakes Wiki
This page contains HTML Guidelines for accomplishing specific tasks, including validation.
Contents |
Best Designed Websites
Websites with excellent design or layout.
- http://designsponge.blogspot.com/2005_07_01_archive.html — nice blog layout.
Document Type
In most cases start HTML document with:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
It's recommended to use:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
But, I've found it just won't validate with any special characters in it. Need to do more research to figure out exactly which document type to use with each CMS.
Base Href
This tag helps reduce the repetitive use of the site url in an html document. Once you declare a base href all relative links in the document will start with the base url.
<html> <head> <title>My Document</title> <base href="http://www.mysite.com/" /> </head> <body> All relative links will then have the base url added on: <a href="thispage.html">This is my link</a> becomes: <a href="http://www.mysite.com/thispage.html">This is my link</a> All file references will do likewise: <img scr="prettypic.jpg"> becomes: <img scr="http://www.mysite.com/prettypic.jpg"> </body> </html>
Favicon
All Browsers now support display of a Favicon. See Wikipedia: Favicon for guidelines.
- Favicon Generator — generate your favicon.
- chami.com — generate your favicon.
- smashingmagazine.com — 50 Remarkable Favicons.
A great site with links to favicon generators, css generators & validators, ascii generators, color generators, flash generators, form generators, graphics & image generators, htaccess generators, metatag generators, password generators, pdf generators, php & MySQL generators, popup generators, robots.txt generators, rss generators, sitemap generators, text generators, tooltip generators, xml generators and more.
- smashingmagazine.com — generators links.
Javascript Open Window and Close Window
- htmlgoodies.com — So You Want To Open A Window with Javascript...
Robots.txt
The robots.txt determines how your site will be indexed by search engines.
- mcanerin.com — Robot Control Code Generation Tool
Validation
Always check your code is standards compliant:
- validator.w3.org — XHTML validator.
- jigsaw.w3.org — w3 CSS validator.
CSS and HTML Resources
General Resources
- local.google.com — Google Supported Browsers, if they support them, so should you.
- opensourcetemplates.org — Open Source Templates for free css and xhtml open source template design. Not much on offer yet.
- oswd.org — Open Source Web Designs download and share free web design templates.
CSS Resources
- jigsaw.w3.org — w3's CSS validator.
- w3schools.com — w3 School's CSS Language Guide.
- css-discuss.incutio.com — CSS Discuss Wiki's excellent guide to using CSS with code examples.
- positioniseverything.net — CSS browser fixes and workarounds.
- wendypeck.com — Wendy Peck's CSS 101 Tutorial with examples.
HTML Resources
- validator.w3.org — w3 XHTML validator.
- w3.org w3's Accessibility Guidelines.
- chami.com — animated favicon generator.
- favicon.co.uk — favicon generator.
- iconlet.com — simple search engine for free icons and images. Exceedingly useful!
- webmonkey.com — WebMonkey Developer's Guide. Exhaustive reference guide for HTML, CSS, Javascript, etc.
- webmonkey.com — WebMonkey HTML Special Characters reference.
- Keywords — generate up to 100 related keywords with estimate of daily search volume.
Scripting Resources
- dhtmlgoodies.com — library of very useful DHTML and Ajax scripts.
- w3schools.com Media Mime Types — list of MIME types supported by MS Internet Information Server.
- anyexample.com — free, tested scripts for PHP, Javascript and CSS.
Templates
- freecsstemplates.org — library of open source HTML and CSS templates.
Fishcakes Wiki Reference Files
These are examples from other sites but archived here as things on the web have a tendency to disappear.
-
Creating Scalable Figures — guide to CSS Scaling. Also details HTML includes on page. Fishcakes Wiki Reference File.
-
Fishcakes CSS Colours — Fishcakes Wiki Reference File. Fishcakes Wiki Reference File.
-
Fishcakes Colours — Fishcakes Wiki Reference File. Fishcakes Wiki Reference File.

