Workshop

The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1: To crop artwork, which element would you use?
A1: The clipPath element is used to crop content by revealing it only within the clipping path's described content area.
2:True or False: The mask element renders its contents as an alpha channel.
A2: True. Content inside a mask element is interpreted as an alpha channel. This channel then determines how content is revealed through it.
3:How are clipping paths and masks applied to objects?
A3: A style rule is used to apply a clipping path or mask to content. In both cases, the syntax fill:url(#idValue) is used on the content to ...

Get Sams Teach Yourself SVG in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.