ABSTRACT

Cascading Style Sheets (CSS) is a style sheet language that allows rules to be created that are used to determine how documents written in a markup language should appear when rendered. CSS uses a box model, in which a marked up document is viewed as a hierarchy of rectangular boxes, with each box representing an element in the document. CSS rules can be declared in a separate document, to which the HyperText Markup Language (HTML) document to be styled is then linked, or they can be declared in an HTML document, using the <style> element or the style attribute. CSS provides many different selector types that enable rules to be crafted to style various complex combinations of elements in an HTML document. The cascading properties of CSS refer to the principles that govern how CSS rules take precedence over each other when multiple rules are targeting the same element.