Monday, November 27, 2006

HTML tips

On images, specify the alt attribute instead of the title attribute. Omit the alt attribute if the text is already present on the page.
Prefer <ul> and <p> to <div>, as they are more meaningful.
Keep Javascript and CSS separate from the HTML (an exception would be display:none in some cases).

0 Comments:

Post a Comment

<< Home