S
spaghetti
I read that HTML has a "default stylesheet" that basically says <table>
needs to be display:table; and <strong> needs to font-weight:bolder; etc.
(http://www.w3.org/TR/REC-CSS2/sample.html)
Is this a standard, suggestion, or just a "this is what they all seem to do,
though they don't actually use stylesheets to do it?" Are there default
styles for XHTML?
Basically what I'm saying is, I understand there was some sort of standard
on how basic HTML (not XHTML/XML) should be styled. But for XHTML, isn't it
proper to assume all these XML elements don't have a default stylesheet, so
therefore must be styled explicitly in our stylesheets? Like doing the basic
stuff like table{display:table;} etc.?
I'm just confused. I assumed XML was unstyled, and XHTML is technically XML:
it is just using old HTML-style tags to take advantage of the default
rendering standards of HTML in old browsers. But since it's really truly
just XML, aren't we supposed to be styling all that stuff ourselves?
Just a weird thing I was wondering about....
needs to be display:table; and <strong> needs to font-weight:bolder; etc.
(http://www.w3.org/TR/REC-CSS2/sample.html)
Is this a standard, suggestion, or just a "this is what they all seem to do,
though they don't actually use stylesheets to do it?" Are there default
styles for XHTML?
Basically what I'm saying is, I understand there was some sort of standard
on how basic HTML (not XHTML/XML) should be styled. But for XHTML, isn't it
proper to assume all these XML elements don't have a default stylesheet, so
therefore must be styled explicitly in our stylesheets? Like doing the basic
stuff like table{display:table;} etc.?
I'm just confused. I assumed XML was unstyled, and XHTML is technically XML:
it is just using old HTML-style tags to take advantage of the default
rendering standards of HTML in old browsers. But since it's really truly
just XML, aren't we supposed to be styling all that stuff ourselves?
Just a weird thing I was wondering about....