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

Total Post:117

Posted on    December-17-2012 3:37 AM


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

please tell me why do we use style sheets?



Total Post:604

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