Tuesday, July 21, 2009

continued

Video 4

CSS Syntax

CSS Syntax is not case sensitive unter its control.
aloth ugh font names are case senstive in th is.
Embedded CSS inside a html document a styles tag needs to be used type and attribute
opening tag style type = "text/css" closing tag
Style sheets can change colours with out tags from html
as long as its inside the h1 tag.
comment tags around t css are needed as some browsers like mobile phone dont support the css they will ignroe the css file.
rule set is a style
selector is before curly braces and a declaration is in side the curly braces.
you can have multiple blocks inside the braces you musy have a ; for each block in the declaration in a rule set.
keywords can be used alos known as an identifer

color: "yellow"; do not use
color: yellow ; do use

syntax
web browsers are meant to ignore sinytax errors! and are not to display errors!
good practice to check for errors before you publish.

1 comment: