Ciao a tutti e buon anno. Come va? Volevo segnalarvi un articolo veloce, fresco ed interessante su Digital Web Magazine, contenente una lista di punti generici da non dimenticare durante la costruzione di un documento web:
- Markup as a Craft
Un breve riassunto:
- Simplify. Simplify. Simplify.
- Don’t use tables for layout.
- Markup should be purely semantic structure. Eliminate the elements that control presentational aspects.
- Avoid using inline DOM scripting in markup, including event handlers.
- Avoid putting markup in scripts.
- Avoid putting content in scripts.
- Try to avoid using unecessary classes and IDs.
- Class and ID attributes should be named according to their content or purpose, not their presentation.
- Class and ID attributes need meaningful names.
- Use microformats when appropriate.
- Know all of the HTML elements.
- Don’t use deprecated or inappropriate elements.
- Communicate meaning through the use of semantic elements.
- Be aware of and understand user agents and their nuances.
- Know and understand all of the HTML attributes.
- Keep content in a logical order in the source.
- Create meaningful links.
- Create useful alt attributes.
- Make the most of headings by using them to create an outline for the page’s content.
- Use good form when marking up forms.
- Create semantically rich data tables.
I dettagli nell'articolo. Buon proseguimento a tutti.