Skip to Content
HTML5 in Action
book

HTML5 in Action

by Greg Wanish, Rob Crowther, Joe Lennon, Charles Brindle
February 2014
Intermediate to advanced
466 pages
16h
English
Manning Publications
Content preview from HTML5 in Action

Chapter 7. SVG: responsive in-browser graphics

Chapter 7 at a glance

Topic

Description, methods, and so on

Page

Setting up SVG Overview of basic setup for using SVG  
 
  • Vector vs. bitmap
  • <svg> configuration
  • CSS for SVG and DOM
200 204 205
SVG tags How to create shapes with the XML syntax  
 
  • Basic shapes
  • Gradients and <g>
  • <text> and animation
  • XLink
  • Paths for advanced shapes
  • viewBox
206 207 208 208 209 211
JavaScript usage Advanced usage with JavaScript and SVG  
 
  • XML namespacing
  • SVG libraries
  • Simple design pattern
  • Dynamically generating a large SVG group
  • Generating SVG paths via software
  • CSS for SVG animation
  • getBBox()
212 213 216 227 228 229 231
Canvas vs. SVG Using SVG vs. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HTML5 Programmer’s Reference

HTML5 Programmer’s Reference

Jonathan Reid

Publisher Resources

ISBN: 9781617290497Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link