Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Alcibiades Montas
5,974 PointsBest way to imbed and style SVG files?
Hi guys,
1) Do you use the object tag to imbed SVG files? If so, am I able to style them with CSS by using this tag?
2) HTML 5 has an SVG tag? Is it possible to use that now?
Thanks,
AM.
1 Answer
Alcibiades Montas
5,974 Pointsactually went back to the video and found the following:
<object type="image/svg+xml" data="image.svg">Your browser does not support SVG</object>
This is the best way to enter SVGs and then able to modify them!
The SVG tag in HTML5 is for you to create your own SVG