YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Introduction To Web

Introduction to the Web

Nick DeNardisWayne State University

Office of Marketing and Communications

February, 26, 2008 mac.wayne.edu1

Page 2: Introduction To Web

the web is square

February, 26, 2008 mac.wayne.edu2

Page 3: Introduction To Web

five main elements

• HTML (just text)

• CSS (just text)

• Images (compression is key)

• Javascript (for added functionality)

• Flash (cross platform interactivity)

February, 26, 2008 mac.wayne.edu3

Page 4: Introduction To Web

an http request

February, 26, 2008 mac.wayne.edu4

Page 5: Introduction To Web

detailed page load

February, 26, 2008 mac.wayne.edu5

Page 6: Introduction To Web

a basic web page

html tag<a href=”http...” target=”_blank” title=”Go...”>Text</a>

<img src=”http..” width=”1” height=”1” alt=”...” />

February, 26, 2008 mac.wayne.edu6

Page 7: Introduction To Web

document object model

February, 26, 2008 mac.wayne.edu7

Page 8: Introduction To Web

headers

February, 26, 2008 mac.wayne.edu8

Page 9: Introduction To Web

other common tags

• p - paragraph• a - anchor• img - image• em - emphasis• strong - bold• ul, ol - unordered and ordered list• li - list item• br - line break• div, span - placeholders• dl - definition list• dt, dd - definition title, definition description

February, 26, 2008 mac.wayne.edu9

Page 10: Introduction To Web

block vs inline

February, 26, 2008 mac.wayne.edu10

Page 11: Introduction To Web

block vs inline

February, 26, 2008 mac.wayne.edu11

Page 12: Introduction To Web

cascading style sheets• Separation of structure and presentation

• Positioning on screen

• Backgrounds and images

• Fonts and readability

February, 26, 2008

adding style

mac.wayne.edu12

Page 13: Introduction To Web

css media

• all - applied to all

• handheld - mobile phone

• print - when transfered to printer

• screen - for color computer screens

February, 26, 2008 mac.wayne.edu13

Page 14: Introduction To Web

css syntax

• body { color: #000000; margin: 0px;}

• #content {}

• .alert {}

• #content .alert {}

• dl.news dt {}

February, 26, 2008 mac.wayne.edu14

Page 15: Introduction To Web

some css properties

February, 26, 2008 mac.wayne.edu15

Page 16: Introduction To Web

css positioning

• Browser Support• IE6 & IE7• Firefox 2 & FF3• Safari 3• Opera 9

• Methods• Float Clear• Relative Positioning• Absolute Positioning

February, 26, 2008 mac.wayne.edu16

Page 17: Introduction To Web

css box model

February, 26, 2008 mac.wayne.edu17

Page 18: Introduction To Web

box model expanded

February, 26, 2008 mac.wayne.edu18

Page 19: Introduction To Web

float clearing

February, 26, 2008 mac.wayne.edu19

Page 20: Introduction To Web

overall document structure

• <div id=”container”>

• <div id=”header”>...</div>

• <div id=”navigation”>...</div>

• <div id=”content”>...</div>

• <div id=”related-info”>...</div>

• <div id=”footer”>...</div>

• </div>

February, 26, 2008 mac.wayne.edu20

Page 21: Introduction To Web

February, 26, 2008

designing on a grid

mac.wayne.edu21

Page 22: Introduction To Web

images

• Keep file size down

• User background colors where possible

• Combine images where possible

• Always use alternate tags to describe

February, 26, 2008 mac.wayne.edu22

Page 23: Introduction To Web

designing from the html out

• Start from the HTML

• Structure the content and DOM

• Position elements for the screen

• Add style and images

• Format for Print and Mobile

• Become comfortable with the constraints of the web

February, 26, 2008 mac.wayne.edu23

Page 24: Introduction To Web

resources

• Web Design from Scratchhttp://webdesignfromscratch.com/

• Semantic (X)HTMLhttp://microformats.org/wiki/semantic

• CSS Propertieshttp://htmldog.com/reference/cssproperties/

• More to come

February, 26, 2008 mac.wayne.edu24


Related Documents