Cascading style sheet is a relatively simple tool that allows the developer to assign styles to hypertext markup language. It provides web developers with access to a large variety of formatting properties such as margins, line height, word spacing and much more. Cascading style sheet is easy to learn and style sheets can be included in extensible markup language documents or can be saved stand alone text files.
Several style sheets can exist for one document to be rendered by a wide range of formatting devices from web browsers to printers. Multiple style sheets can be written to provide different output on the same formatting device. A style sheet can be included in extensible markup language as internal style sheet or as an external style sheet which is saved in an external file and is referenced using the link tag in the extensible markup language document. Cascading style sheet is easy to implement. Cascading style sheet is a World Wide Web consortium standard. Cascading style sheet is the primary style language used to direct the display of extensible markup language documents on the web and in other media. Cascading style sheet works well with extensible markup language as it does with hypertext markup languages. The style sheet processing instruction is added to the beginning of the extensible markup language document so that the extensible markup language document can locate its attached style sheet.
Name spaces are declared in the extensible markup language when using extensible markup language with a cascading style sheet. Name space is the portioning of names for the purpose of rendering them globally unique and unambiguous. Name spaces are advanced feature of extensible markup language. They allow developers to qualify uniquely the element names and relationships and make these names recognizable to avoid name collisions on elements that have the same names but are defined in different vocabularies. Tags are allowed from multiple name spaces to be mixed which is essential if data is coming from multiple sources. Local name spaces parse correctly but cascading style sheets does not currently describe a mechanism for resolving name space prefixes so there is every possibility that cascading style sheet rules might not apply correctly to elements in the locally scoped name spaces. All name space declarations are placed in the extensible markup language. This ensures that they are global and thus there will be no collision of prefixes. The default name spaces cannot be used so all name spaced elements must have an explicit prefix. Markup controls description and style sheets controls display of the extensible markup language. Cascading style sheet is browser related and hence the developer needs to take care when developing it.