views:

84

answers:

3

Where can I find the most basic html "coding standard document".
This is for an individual unfamiliar with html to peer review the document.
Looked around w3c but validators and detailed information is not what I'm looking for.

Also looking for JavaScript and CSS documents.

Thanks.

+1  A: 

HTML 4
http://www.w3.org/TR/html4/

This link has all of the recommendations:
http://www.w3.org/MarkUp/#recommendations

Robert Greiner
+3  A: 

Depends on the doctype you're using, you'll have different rules to follow. I use XHTML 1.0 Strict for all of my projects, and I can check proper nesting of tags at http://www.december.com/html/x1/. That site will tell me which tags are allowed to be placed in which other tags, etc.

For example, The Anchor Tag in XHTML 1.0 Strict:

    tag: a

content: ( #PCDATA | br | span | bdo | map | object | img | tt | i | b | big | 
         small | em | strong | dfn | code | q | samp | kbd | var | cite | abbr | 
         acronym | sub | sup | input | select | textarea | label | button | 
         ins | del | script )*

parents: abbr acronym address b bdo big caption cite code dd del dfn div dt em 
         fieldset h1 h2 h3 h4 h5 h6 i ins kbd label legend li object p pre q 
         samp small span strong sub sup td th tt var

You can also view rules for:

Jonathan Sampson
nice, just the basics and pertinent info....anything like this for CSS, JS?
Tommy
@Tommy, The best Javascript reference I know of immediately is the one at http://www.w3schools.com/jsref/default.asp - as for CSS, I can only suggest the Spec, but it can get rather verbose at times.
Jonathan Sampson
A: 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

this will be a easy doc-type for you... is for xhtml transitional.