Foundation HTML5 with CSS3

(Steven Felgate) #1
Contents

vii

Changing the Style of Ordered Lists .................................................................................138
Summary ...............................................................................................................................138

Chapter 5: Embedding Media ................................................................................. 139


How Digital Images Work ......................................................................................................14 0
Web-Friendly Image Formats ............................................................................................141
Embedding Images ............................................................................................................... 145
img .....................................................................................................................................145
Embedding Audio and Video.................................................................................................152
Media Codecs and Formats ..............................................................................................152
audio ..................................................................................................................................153
video ..................................................................................................................................157
source ................................................................................................................................160
track ...................................................................................................................................162
Embedding Plug-ins and Other Content ...............................................................................164
object .................................................................................................................................164
param.................................................................................................................................165
embed................................................................................................................................166
Dynamic Drawings ................................................................................................................167
canvas ...............................................................................................................................167
Images with Style, Styling with Images .................................................................................173
Wrapping Text Around an Image ......................................................................................173
Background Images...........................................................................................................175
Positioning a Background Image.......................................................................................179
Shorthand for Backgrounds...............................................................................................182
Summary ...............................................................................................................................183

Chapter 6: Linking the Web .................................................................................... 185


Anchors .................................................................................................................................185
a.........................................................................................................................................186
Inline vs. Block-level Links ................................................................................................191
Image Maps...........................................................................................................................192
map....................................................................................................................................192
area....................................................................................................................................193
Styling Anchors and Image Maps with CSS..........................................................................196
Styling Anchors..................................................................................................................196
Button-making ...................................................................................................................200
Styling Image Maps...........................................................................................................20 3
Summary ...............................................................................................................................203

Chapter 7: Building Tables ..................................................................................... 205


The Table's Lament...............................................................................................................205

Free download pdf