| Topic C |
| CSS |
| CSS, the cascading style sheet is the style sheet language use to display the elements. It helps the users in document presentation like defining colors, fonts, layouts, size, border etc. CSS is used for the separation of content to bring more visibility to it. It also renders the facility to display markup pages in different styles. |
| Syntax of CSS |
| CSS syntax is filled with several English . In the style sheet there is the list of rules which consist of selectors and declaration box. Declaration box consist of colon and semicolon. |
| Selectors are use for the application of style for different elements. |
| Pseudo class is the important character of CSS syntax which selects the important selected element of the page. |
| Types of cascading style |
| Cascading styles are mentioned below |
| 1. Browser default |
| 2. External style sheets |
| 3. Internal style sheets (inside the <head> tag) |
| 4. Inline style (inside an element) |
| Amongst these the Inline style is most admired and popular. |
| CSS and HTML |
| HTML mark was used earlier to present attributes of HTML which were not very clear for he reader due to the complications in it. But cascading style sheet is considered as a handy tool because the information is separated in different style sheets. |
| For example heading (h1 elements), sub-headings (h2), sub-sub-headings (h3), etc., are defined structurally using HTML. In print and on the screen, choice of font, size, color and emphasis for these elements is presentational. |
| Style sheet of CSS |
| External style sheets are stored in CSS files. It saves lot of work of the users. Changing the appearance and the layouts of the web pages becomes possible due to style sheet. It is possible by editing single CSS documents. It is helpful for the web designers because it controls the layouts and styles of multiple web pages all at once. If you want to change something then the remote correction from your side will automatically correct all the web pages. |
| |
| |