* CSS is not case sensitive in all matters under its control.
* Some things are not under its control, e.g. end user's operating system or browser.
Embedded CSS
* Code is written inside a style tag placed inside the head tag.
* The CSS rules are then written within the opening and closing style tags.
* It is good practise to put comment tags around the rules.
* This is because some older browers and mobile browers don't support CSS.
* Each RULE SET contains a selector and one or more declaration blocks.
* Each declaration block has a property and a value, e.g. color:#00CC33
* Each declaration block is followed by a semi colon.
* Values can be keywords, strings, colours, numbers, URLs, links, precentages, etc.
* Many CSS properties can have a keyword as a value.
* The keyword is called an IDENTIFIER.
* The IDENTIFIER must never be surrounded by quotation marks.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment