CSS stands of Cascading Style Sheet. It is used to customized the looks of classes and ids. It cannot control the content of the page.
HTML controls the contents of the page and a bit of how it is lay out.
HTML has a bit of customizing options, but CSS does most of the job.
I hope that helped you.
Agent Cosmic
Junior Poster in Training
51 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
css is an addition to html, not a replacement for it.
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
css is an addition to html, not a replacement for it.
Yes, but some obsolete and non-valid tags (font, body background etc...) were replaced with CSS.
lio04
Junior Poster in Training
78 posts since Mar 2008
Reputation Points: 27
Solved Threads: 4
The idea is to separate the document content from the formatting. The xhtml (which is the real replacement for html) contains the content, and the css contains the formatting.
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
Yeah +1 for midimagic. Thats spot on.
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
XHTML isn't replacement to HTML. XHTML is the standard based on XML, but HTML is still not dead. (e.g. HTML5 is in development). Any developers makes our sites in HTML, important is in my opinion, wheter the site is valid and efficient. (sites should have been functional without image support in browser, in console browsers (links, lynx) and too for blind persons with readers. This is for me very important, therefore I'm building valid sites in XHTML Strict. That's no Dreamweaver, that's heavy work.) :)
lio04
Junior Poster in Training
78 posts since Mar 2008
Reputation Points: 27
Solved Threads: 4