360 likes | 501 Views
OVERVIEW. Working with Text and Graphics. Create Unordered and Ordered lists Cascading Style Sheets Insert and align Graphics Image enhancements Background images and site maintenance. INTRODUCTION. Text as Lists. Breaks up text Increases readability 3 Types of Lists: Unordered
E N D
OVERVIEW Working with Textand Graphics • Create Unordered and Ordered lists • Cascading Style Sheets • Insert and align Graphics • Image enhancements • Background images and site maintenance
INTRODUCTION Text as Lists • Breaks up text • Increases readability 3 Types of Lists: • Unordered • Ordered • Definitions
INTRODUCTION Cascading Style Sheets • Save you time • Ensure consistency 2 Types of style sheets: • Internal style sheets • External style sheets(for applying to multiple pages)
INTRODUCTION Graphics • Not too many! • Not too few! • Store in Assets folder 3 Web graphic file formats: • GIF • JPEG • PNG
LESSON 1 Lists • Unordered bulleted • Ordered numbered • Definition term + indented paragraph This slide is an example of an unordered list. What characteristics of this list improve readability?What other formatting might improve its readability?
LESSON 1 Create a List • Select paragraphs of text to be included in list • Click List button in Property Inspector This slide is an example of an ordered list.What characteristics of this list improve readability?What other formatting might improve its readability?
LESSON 1 Property Inspector ordered unordered List Item properties
LESSON 1 List HTML unordered list “square” bullets line items close line item </ul> close <ul> (not shown)
LESSON 2 Cascading Style Sheets selector declaration property value
LESSON 2 Internal CSSs save you some time… Change a property here… Internal style sheet <selector>text</selector> …all text using that selector is updated <selector>text</selector> <selector>text</selector> <selector>text</selector> <selector>text</selector>
LESSON 2 External CSSs save you time… Change a property here… external (.css) .html …every page using the style sheet is automatically updated
LESSON 2 Cascading… All styles are applied, but the property closest to the text wins! external internal 1. external style sheet 2. internal style sheet (These property values override style sheets) 3. inline <inline formatting>Affected Text</inline formatting>
LESSON 2 Create a Style Selector List changes According to “Type” “class” properties can override any selector properties Standard HTML tags get a new look 4 link states: link visited hover active internal external
LESSON 3 Declare a Style .bullets font properties
LESSON 2 Apply a Style select text then apply a style… …to apply HTML style …to apply class style or CSS selector
LESSON 2 Apply an external style sheet Click to apply an external style sheet to this page
LESSON 3 Insert and Align Graphics • File formats • Assets panel • Image alignment
LESSON 3 Graphic file formats • GIF “giff” (not “jiff”) • JPEG “jay-peg” • PNG “ping”
LESSON 3 GIF • 256 solid colors • 1 transparent color per image • Animate gif files
LESSON 3 JPEG • 16.7 million colors gradients and shadows • No transparency • No animation • Lossy everytime you save a jpeg, the file becomes smaller and loses quality
LESSON 3 PNG • 16.7 million colors gradients and shadows • 256 transparent colors per image • Lossless
LESSON 3 Assets Panel Stores & categorizes items you may re-use in several HTML pages: • Images • Colors • URLs links • Flash • Shockwave • Movies • Scripts • Templates • Library
LESSON 3 Assets Panel favorites thumbnail categories
LESSON 3 Adding a graphic from the Site or Assets panel drag it!
LESSON 3 Adding a graphic to the Assets panel • Proofreading • Window size • Links
LESSON 3 Aligning Images image alignment Text and image Alignment (<div>)
LESSON 4 Enhance Images • Borders • Space • Alternate Text Modify the image and image sizeusing an image editing program
LESSON 4 Borders Border thickness
LESSON 4 Space horizontal and vertical Vertical space Horizontal spce
LESSON 4 Resizing Graphics • Don’t resize graphics within a page • Smaller: file size unnecessarily large • Larger: image loses quality • Reset Size matches height and width to source
LESSON 5 Background Images • File size: small • Image size: small for tiling • Image size: large use style for white space, no tile and move with scroll • Affects Readability
LESSON 5 Insert a Background Image select an image
LESSON 5 Background Imageusing Styles image tiling follow? positioning
LESSON 5 Remove non-Web-safecolors from Web site Web-safe color values include 3 pairs… …not safe!
SUMMARY Unit Summary • Create lists • Create, apply and editCascading Style Sheets • Insert and Align Graphics • Add links • Enhance images • Add Background Image • Remove unused images & non-Web colors