![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I was making some html, and found out that center is depricated, that sounds odd to me, cause that was a good and useful tag, can anyone tell me if there has come anything better than it, or why else it has become depricated? |
#3
| |||
| |||
|
|
Since HTML 4.0, *all* presentational elements (except <b> and <i>) have been deprecated. |
#4
| |||
| |||
|
|
Toby A Inkster <tobyink (AT) goddamn (DOT) co.uk> wrote: Since HTML 4.0, *all* presentational elements (except <b> and <i>) have been deprecated. I think most people would say that the non-deprecated elements <big> and small> are presentational, too, though this is somewhat arguable (especially for <small>). And, arguably, <dl> with its subelements <dt and <dd> is presentational, since it lacks well-defined semantics and is mostly used to get a particular visual appearance with no regard to meaning. Moreover, <sub> and <sup> are problematic in a classification; M<sup>lle</sup> or 1<sup>st</sup> is purely presentational, I would say. And then there's <tfoot>. And in _attributes_ there are illogical decisions too - e.g., the width attribute has been deprecated in some elements but not in others. On the other hand, ... the vectors <b>x</b> and <b>y</b> ... and ... the species <i>Homo sapiens</i> ... are examples of "semi-presentational" use of <b> and <i>. There's a meaning one tries to convey, but in lack of adequate markup, one uses elements that in principle mean nothing but bolding or italics. Compare this with a hypothetical situation where HTML lacked strong> and <em> and you would want to emphasize some words in a text. My point is that deprecation isn't quite as logical as one might think. It's futile to try and find more logic than there is. |
#5
| |||
| |||
|
|
Is it correct/allowed to be able to define a style for <b> and <i elements? |
|
i.e. b {font-weight:normal ; font-style:italic} |
|
If this is so, then surely there is no need to depricate these tags, because their influence can still be changed. Of course, I could be spouting non-sense... |
![]() |
| Thread Tools | |
| Display Modes | |
| |