--- In [email protected], "chmavrog" <[EMAIL PROTECTED]> wrote: > > Can someone answer to my questions > > 1. If i want to embed an svg document in an html page which tag should > i use <embed> or <object> ? > > 2.if i need to communicate between html to svg and svg to html,writing > html to svg scripting and visa versa which tag i must use?
If you want (or wanted) to write valid HTML 4 or XHTML 1.0 markup then you need to use the object element or the iframe element. The object element is even part of the strict versions of HTML 4 or XHTML 1 while the iframe element is only part of the transitional versions of HTML 4 or XHTML 1. The embed element has never been part of any HTML or XHTML standard, mainly as it allows any plugin to add custom attributes and that way no DTD can be written defining the possible attributes. However the embed element has probably the best cross browser support and the latest releases of Adobe SVG viewer 3.0 for security reason do not allow scripting SVG inside of an object in IE: <http://www.adobe.com/svg/viewer/install/main.html> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

