website with html css

16
>_ Things Lab Making a Website with HTML/CSS

Upload: things-lab

Post on 16-Jul-2015

64 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Website with HTML CSS

>_ Things Lab

Making a Website with HTML/CSS

Page 2: Website with HTML CSS
Page 3: Website with HTML CSS
Page 4: Website with HTML CSS
Page 5: Website with HTML CSS
Page 6: Website with HTML CSS
Page 7: Website with HTML CSS

•Markup

•Parsing

•Rendering

Page 8: Website with HTML CSS

(Visible) Elements for text• Headings, Paragraphs, Whitespaces• Line breaks, Self closing tags• Lists• Emphasis and typography (inline

elements)• Neutral elements: div, span

Page 9: Website with HTML CSS

Links and embedded resources

• Anchors and links• Images and objects• Inline frames• (Nonvisible) link, script, meta

Page 10: Website with HTML CSS

Still can’t get it pretty?CSS to the rescue!

Page 11: Website with HTML CSS
Page 12: Website with HTML CSS

Adding a stylesheet• Inline style• Style element• Link stylesheet• Import linked stylesheet

Page 13: Website with HTML CSS

Selecting elements to style

• ID selectors• Class selectors• Combinators• Cascading and specifity• Pseudo-classes

Page 14: Website with HTML CSS

Most used properties

• Colors: hex and rgb• Length: px, % and em• Borders: width, style and color• Backgrounds: color, image, repeat,

attachment

Page 15: Website with HTML CSS

The box model

Page 16: Website with HTML CSS

Positioning

• Display: inline, block, none• Float• Clear