Featuires of cascading style sheets

by barkkathulla 2012-09-22 11:51:31

THE CSS SPECIFICATION WAS ORIGINALLY INTRODUCED FOR HTML.OVER THE LAST TEN YEARS MANY NEW TAGS WEREADDED TO HTML WHICH HAS LED TO SOME WEB PAGES BECOMING VERY COMPLEX. CSS ALLOWS THEIR STYLING CONTROLS TO BE SEPARATED FROM THEIR PAGE CONTENT,WHICH MAKES MAINTENANCE MUCH EASIER CSS IS SUPPORTED BE INTERNET EXPLORER AND CSS STYLE SHEETS WORK WELL WITH XML.THEY ARE ORDINARY PLAIN TEXT DOCUMENTS WITH A ‘.CSS’ FILE EXTENSION.

A CSS STYLE SHEET IS A LIST OF RULES WHICH EACH START WITH A ‘SELECTOR’ THAT IDENTIFIES AN ELEMENT OF THE XML DOCUMENT.THIS IS FOLLOWED BY APAIR OF ‘{}’ CURLY BRACKETS WHICH CONTAIN ‘PROPERTIES’ THAT ARE TO BE ASSOCIATED WITH THE SELECTED ELEMENT.


THE RULE FOR EACH PROPERTY STATES THE PROPERTY NAME,FOLLOWED BY A : COLON,THEN A VALUE FOR THAT PROPERTY.EACH PROPERTY STATEMENT MUST BE TERMINATED WITH A ‘;’SEMI COLON.
976
like
0
dislike
0
mail
flag

You must LOGIN to add comments