Tuesday, July 21, 2009

Videos

Video 5 - Inheritance

flow chart shows the “children” - inheritance

each element can inherit properties from its “parents”

not every property is automatically inherited eg. border

will inherit font size, family, etc.

can override inherited property by inserting a new rule in the style



Video 4 - CSS Syntax

Not case sensitive in all matters under its control

Some things fall outside the control of CSS, these include:

end users operating system, mark up language, browser end-user is using

Font names are case sensitive on some operating systems

On a whole CSS isn’t case sensitive

imbedded CSS

insert style tag - type attribute





…..







text







User agents are supposed to ignore most syntax errors, ignore the declaration or block that contains error, allows to render out any remaining components in the documents without displaying error message, however, not all user agents respect these standards, so best to check documents for errors


Video 3 - CSS Intro

CSS - Cascading Style Sheets

Main purpose is to control the appearance of single or multiple html documents

Simply update one file to update appearance on all pages on website

Allows creation of a series of styles or rules stored within a CSS file which can be linked to as many html pages as needed - changes will cascade through the site

Main tags - on page 1, page 2 exactly the same except header name, both files are linked in the “head” of both documents

Associated style sheet - CSS rule associated with h1 element - 2 properties: font family & size

Separates structure from presentation

Presentation = appearance (style sheet), structure = (content) meaning of the content in the document



Video 2 - XML

XML = Extendable Mark-up Language

Designed to carry data - not display data

No predefined tags - user must find own tags

Designed to be self descriptive

Endorsed by W3C

HTML designed to display information

Store & Transport information


Video 1 - Naming
Do not use spaces, capitals or special characters in naming files

Underscores are preferred between words

.htm or .html can be used as extenstions - but be consistant

No comments:

Post a Comment