8
Contributors
9
Replies
10
Views
8 Years
Discussion Span
Last Post by shruti sepra
0

what is the difference between html and css?
thanks

using css, we can reduce the length of the code and increse effitiveness compare to html.

0

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.

0

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.

0

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.

0

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.) :)

0

html stands for hypertext markup language, whereas css stand for cascading style sheet. css reduce your work load and code size.

lets see how it reduce you work load. lets take an example you create a website of 10 pages. each page contains heading content, text etc. you give red color to your heading on every page. but now your client ask you to change red heading into blue. if you assign red color on every page then u have to change in every page.

but if you assign this using css then this will be work of few seconds means you just have to change red into blue only at one place.....

the only thing is you have to attach your css to ur html and you can control your any tag from here then it can be text color, size, style or border to table or image anything u like....

gud luck..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.