Why do we use style sheets?

Posted by  jayprakash sharma
 2525  View(s)
Rate this:
Hi every one

please tell me why do we use style sheets?

  1. Re: Why do we use style sheets?

    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.

      Modified On Mar-29-2018 05:53:57 AM