3 ms·
HTML & CSS formatting ideas from Paul Irish
- xtreme 14y agoThis is obviously syntactically incorrect. Although most browsers will ignore and auto-correct these errors, relying on such behavior feels a little shaky to me.
- deleted 14y ago[deleted]
- tom_usher 14y agoThis is perfectly valid HTML - a lot of closing tags are completely optional [1]. Not a big fan myself because it feels like I'm leaving everything hanging, but nice to have the option. [1]: http://wiki.whatwg.org/wiki/HTML_vs._XHTML#HTML_Elements_with_Optional_Tags http://wiki.whatwg.org/wiki/HTML_vs._XHTML#HTML_Elements_wit...
- ryanwhitney 14y agoHad no idea about this—thanks.
- dag10 14y agoFor the CSS formatting, that takes a lot of time due to the precise indentation required for manual right-justifying the lines.