4 ms·
There must be some confusion here. HTML 5 simplified doctypes, codified rules for interpreting malformed HTML, and added some new tags. Unless you’re using some
by foldr 11mo ago
There must be some confusion here. HTML 5 simplified doctypes, codified rules for interpreting malformed HTML, and added some new tags. Unless you’re using some crazy deprecated tags, you should just be able to write HTML4 and update the doctype.
- GaryBluto 11mo agoBy HTML4 I mean non-use of HTML5/CSS3 features. I'd also add that, while still supported by browsers, HTML5 deprecated lots of elements and parameters that I find handy.
- MarsIronPI 11mo agoWhich deprecated HTML4 features do you use? Also, what do you think of the more semantic elements in HTML5 such as <date>?
- GaryBluto 11mo agoI occasionally use font tags. As an example, this: <p><font face="font">Your text here</font></p> Looks way better than: <p style="font-family: 'font', sans-serif;"></p> to me.
- MarsIronPI 11mo agoMay I ask why you compare the <font> element to using inline style rather than giving the <p> a class and styling it in a separate stylesheet? Doing it this way also allows users to override your style with extensions like Stylus. (Again, not trying to criticize, just trying to understand.)