You have been assigned a project to develop a Web site for a construction company. You plan to develop a Web site and want to use cascading style sheets (CSS) as it helps you to get more control over the appearance and presentation of your Web pages and also extends your ability to precisely specify the position and appearance of the elements on a page and create special effects. You want to define styles for individual elements of a page. Which type of style sheet will you use?
Cascading style sheets (CSS) are used so that the Web site authors can exercise greater control on the appearance and presentation of their
Web pages. And also because they increase the ability to precisely point to the location and look of elements on a Web page and help in
creating special effects. Cascading Style Sheets have codes, which are interpreted and applied by the browser on to the Web pages and their
elements. There are three types of cascading style sheets.
External Style Sheets
Embedded Style Sheets
Inline Style Sheets
External Style Sheets are used whenever consistency in style is required throughout a Web site. A typical external style sheet uses a .css file
extension, which can be edited using a text editor such as a Notepad.
Embedded Style Sheets are used for defining styles for an active page.
Inline Style Sheets are used for defining individual elements of a page.
Currently there are no comments in this discussion, be the first to comment!