Scalable Vector Graphics (SVG) Question:

How you can perform embed SVG in HTML?

Tweet Share WhatsApp

Answer:

★ SVG files are embedded into HTML documents by using <embed> , <object> and <iframe> tags.
★ The <embed> tag is supported for all major browsers.
★ The <embed> tag supports scripting.
★ Adobe SVG view recommends to use the EMBED tag while embedding in HTML page.
★ Note that the tag name is capitalized.

Following is an example for <embed> tag:
<embed src="rectangle.svg" height="100" width="300" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" >

Download SVG PDF Read All 35 SVG Questions
Previous QuestionNext Question
List the example for SVG file?How you can specify a border to a rectangle?