CSS Vs. XHTML

liunx

Guest
I'm currently reading a book on XHTML and I just looked on the w3schools.net CSS Tutorial and they are quite similar in much of the coding. When you're making a site do you just mix XHTML and CSS until you get the result you need? I'm still trying to figure out which to use over the other.CSS does no good without markup (XHTML)
And markup can be prettied up by CSSMakes sense.

I was looking at some CSS and the code seems straight forward except for the fact that you have to memorize lots of commands. But when it comes to the style of a presentation CSS seems to me like it can really design a much nicer looking site than pure html.

Thanx for the previous reply.Yes because XHTML is a Structural Markup Language that does not require CSS.No need to remember css properties.

Use the property index, appendix f of the css2 spec.
<!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS2/propidx.html">http://www.w3.org/TR/CSS2/propidx.html</a><!-- m -->

You can browse the full spec <!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS2/">http://www.w3.org/TR/CSS2/</a><!-- m -->
 
Back
Top