Way 2 Web

Web development tips


 
HTML Tips

HTML - Hypertext Markup Language, the brainchild of legendary Tim Berners-Lee, describes the static content of a web page.

Semantics over aesthetics

And the key word is content.

Often, the HTML is hijacked and coerced to perform other functions too. Avoid the temptation. Let HTML deal only with the content of the page, not its appearance (leave that CSS) nor behavior (leave that to Javascript).

Just say "no."

And while you're at it, structure the data according to its meaning, not desired appearance. Use <ul> for lists of data, <dl> for definition lists, <table> for tables of data, and <label>.

Don't shy away from <fieldset>s and <legend>s, nor <caption>s for your <table>s.

(Many online tutorials exist for each of these, and are not duplicated here.)

This will make your pages sleek and concise, and more accessible to the world, especially screen readers and other non-standard devices.

What to expect

This section contains articles on specific technical HTML issues.

For book recommendations, see the Books page.