5 ms·
HTML 4.01 Transitional DOCTYPE: Perfectly fine, use STRICT for l33t designz bonus points. <table> (For layout): ok, we heard that one before. <td>: that cou
by cedsav 17y ago
HTML 4.01 Transitional DOCTYPE: Perfectly fine, use STRICT for l33t designz bonus points.
<table> (For layout): ok, we heard that one before.
<td>: that could be handy if you like your table to have cells.
<tr>: same, very useful for tables that need rows.
<IFRAME>: sometime useful, that's why you may want to stick to transitional doctypes.
<frame>: see frameset.
<frameset>: ok, don't use that. It's bad UI/UX.
<hr>: fine to use, but hard to style with css.
<br>: line breaks are fine too, just don't confuse them for paragraph breaks.
<font face=”Arial” size=”1″>: yeah, dont' use that, use CSS.
<bold>: use <strong>.
<strong>: use it, it's good semantic (strong emphasis).
<center>: ok, don't use it. Use CSS for presentation.
<map name="Map">: yeah, rarely useful and bad for accessibily/SEO.
<area>: see map.
<b>: use <strong> instead.
- aarongough 17y agoWhile I agree that HTML is acceptable, I personally have never seen how it's better than XHTML. XHTML definitely makes life easier for the browser vendors, and if they spend less time debugging their HTML parsing engines then they can spend more time adding CSS3 support! From the coder's perspective, is it really that much harder to write XHTML than plain HTML? Personally I find writing HTML more of a hassle, but that's just because I use XHTML on a daily basis...
- simonw 17y agoHTML is better than XHTML because the XHTML error handling model (refuse to render) is a poor fit for the web.
- aarongough 17y agoGood point. I have yet to encounter a browser that actually sticks to that rule though...
- robotron 17y agoSome of these things are IN HTML5, for example <map>
- masklinn 17y ago> HTML 4.01 Transitional DOCTYPE: Perfectly fine, use STRICT for l33t designz bonus points. For even more l33t bonus points, use the HTML5 doctype declaration.