© Alex Libby  2018
Alex LibbyBeginning SVGhttps://doi.org/10.1007/978-1-4842-3760-1_2

2. Adding SVG Content to a Page

Alex Libby1 
(1)
Rugby, Warwickshire, UK
 

Life is full of shapes. Square, round, oblong – it doesn’t matter what: it’s still a shape.

I don’t know if there was someone famous who came up with that erudite comment, but it can equally apply to SVG images – even though we can create some intricate designs, at their core each will be made up of individual shapes.

These shapes might be any one of eight different types: we can create squares, rectangles, circles, ellipses, lines, polylines, polygons and paths, which when put together will form our final design. If we cast our minds back to the exercise we worked through in Chapter 1, “Introducing ...

Get Beginning SVG: A Practical Introduction to SVG using Real-World Examples now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.