To learn CSS, we may refer to prior knowledge of HTML. In order to use CSS, we will use a text editor, such as Notepadd, and a web browser,such as Chrome.

-Note: CSS helps to define the presentation of HTML elements as a separate file, having a .css extension.


: Cascading Style Sheet

-Note: Cascading - any changes will be applied down, to all style sheets used.

-Note: CSS is used to control the style of a web document

-Historiacal Note: CSS was invented by Hakon Lie in 1994.

-Note: CSS is maintained through a group of people within the W3C (World Wide Web Consortium), an international community that develops open standards to ensure the long-term growth of the Web.


-Note: saves time, maintenance is easy, there are superior styles to HTML, and there is multiple device compatibility, e.g. laptop, tablet, etc., and also different operating systems.


: tgere exust four methods to add CSS to HTML documents.

1. Inline style sheets: these are included with the HTML element

2. Embedded style sheets: are used to apply the same appearance to all occurences of a specific element.

3. External style sheets:

4. Imported style sheets 

You'll only receive email when they publish something new.

More from 7022
All posts