Presentation is loading. Please wait.

Presentation is loading. Please wait.

/k/k 1212 Cascading Style Sheets Part one Marko Boon

Similar presentations


Presentation on theme: "/k/k 1212 Cascading Style Sheets Part one Marko Boon"— Presentation transcript:

1 /k/k 1212 Cascading Style Sheets Part one Marko Boon

2 /k/k 1212 Part 1: introduction Introduction to CSS Structure and syntax Part 11: appearance Part 111: positioning

3 /k/k 1212 Introduction to CSS Internet HTML –Markup language –Static User interaction –hyperlinks –scripts Part 1

4 /k/k 1212 Introduction to CSS Part 1 Browser:defines appearance (text height, font, colour) HTML: defines style (heading, paragraph, list, address)

5 /k/k 1212 Introduction to CSS Part 1 CSS: defines - appearance - location/placement on page HTML tags for appearance are deprecated! bgcolor="…" width="…"

6 /k/k 1212 Advantages of CSS: Browser no longer in control of appearance One, common style and syntax Define styles for –one element –all elements of a certain tag –All elements of a certain class External file  reusable

7 /k/k 1212 Where to specify styles: Between and tags As style="…" property within a tag Load external.css file

8 /k/k 1212 CSS code Or in an external.css file: Or in an individual tag:

", "description": "/k/k 1212 CSS code Or in an external.css file: Or in an individual tag:

" title="/k/k 1212