SVG to HTML/CSS -


well have svg file named 7.svg.

how can display image html or css in index.html?

well can in 3 different ways.

using <embed> tag

<embed src="7.svg" width="300" height="100" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" /> 

using <object> tag

<object data="7.svg" width="300" height="100" type="image/svg+xml" codebase="http://www.adobe.com/svg/viewer/install/" /> 

using <iframe> tag

<iframe src="7.svg" width="300" height="100"> </iframe> 

tell me 1 works out you. please run on differnt browsers , let me know.

html 5 info:

since using html 5 wanna check out this: http://www.whatwg.org/specs/web-apps/current-work/#svg still under work , partially implemented in firefox, safari, opera (xhtml5 serialization only)

https://developer.mozilla.org/en/svg_in_html_introduction


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -