ABSTRACT

Cascading Style Sheets (CSS) is a language for specifying the style and appearance of web pages. CSS works by associating styling rules with Hyper Text Markup Language (HTML) elements. The CSS rules govern how the contents of specified elements should be displayed. A CSS rule contains two parts: a selector and one or more declarations. The selector specifies which HTML elements the rule applies to. The declarations indicate how the elements referred to by the selector should be styled. Each declaration is split into two parts: a property name and a property value. The type selector applies to the element(s) of the specified type in the linked HTML code. In case there are more than one, the type names should be separated by a comma, in a combination known as a multiple selector. The simplest approach to associate CSS code with HTML elements is to include the CSS code within the style attribute of an HTML element.