Home > DeveloperSection > Forums > Why do we use style sheets?
jayprakash sharma
jayprakash sharma

Total Post:117

Points:821
Posted on    December-17-2012 3:37 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 1503  View(s)
Rate this:
Hi every one

please tell me why do we use style sheets?

Thanks 


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    December-17-2012 3:55 AM

Hi Jayprakash Sharma

Answer: SGML (of which HTML is a derivative) was meant to be a device-independent method for conveying a document's structural and semantic content (its meaning.) It was never meant to convey physical formatting information. HTML has crossed this line and now contains many elements and attributes which specify visual style and formatting information. One of the main reasons for style sheets is to stop the creation of new HTML physical formatting constructs and once again separate style information from document content.

Don't want to miss updates? Please click the below button!

Follow MindStick