Using SVG with HTML5 – part 001.

By | 09/03/2018

Scalable Vector Graphics (SVG) is a family of specifications of an XML-based file format for two-dimensional vector graphics, both static and dynamic, interactive or animated.
The first step is how to add the svg file to html5 file. This can be done with the follow this steps:
– using the HTML img tag;
– using the HTML object tag;
– using the HTML iframe tag;
– using CSS (background images);
– including SVG within SVG using the image tag;
inlining the SVG code within HTML code.
This steps come from basic include file into html5 exception make the: including SVG within SVG.
Let’s see one example of : including SVG within SVG.
We have a square.svg and will put into another svg file, see:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.