taenzer.me blog

Random stuff from Poppelsdorf 
« Back to blog

Most Common HTML and CSS Mistakes To Avoid

Weil wir dieser Tage mehr als genug Probleme damit hatten (und weil Routine auch unaufmerksam machen kann), hier nochmal ein Reminder:

Bevor eine Seite vorzeigetauglich für den Kunden ist, sollte diese Checkliste abgehakt sein:

HTML

- Forgetting to close a tag

- Incorrect DOCTYPE (VALIDATE!)
- Improperly nesting tags
- Capitalizing tags (by mistake)
- Forgetting to open or close quotes
- Using Inline Styles
- Not encoding Special Characters
- Confusing Classes and id's (or forgetting to turn an id into a class)

CSS

- Forgetting to close things properly
- Not using global styles
- Not using shorthand code (margin: t r b l; instead of margin-top:,margin-left etc - saves a lot of time at revision)
- Not using shortened color declarations (#fff instead of #ffffff)
- Incorrectly Using Positioning (RECOMMENDED FOR READING)
- Validate (W3C)

BOTH

- Browser compatibility check (IE, Safari, FF)

OTHER:

- shortened URL (like vorschau.domain.de - see WIKI)

http://webdesignledger.com/tips/the-most-common-html-and-css-mistakes-to-avoid

Meistens klappt es dann auch mit nicht funktionierenden (jQuery)Funktionen ;)

Comments (0)

Leave a comment...