W3C home > Mailing lists > Public > www-svg@w3.org > April 2000

Re: How do I embed?

From: Irv Kanode <ikanode@Adobe.COM>
Date: Wed, 05 Apr 2000 10:31:30 -0700
Message-ID: <38EB786B.EA848FE@adobe.com>
To: www-svg@w3.org
Richard,

Following are instructions on using your SVG code on a Web page using the Adobe plugins.  (The
plugins can be found at:
<http://www.adobe.com/web/features/svg/tools.html>)


To Embed:
- save the code with a file name ending in .svg  (eg. test.svg)
- add the following html to your Web page
<EMBED SRC="test.svg" WIDTH="1000" HEIGHT="1000">


To Link:
- save the code with a file name ending in .svg  (eg. test.svg)
- add the following html to your Web page
<A HREF="test.svg">Click here to open the SVG file</A>


You can also sign up for access to Adobe's SVG preview program at:
<http://www.adobe.com/web/features/svg/previewprog.html>  The preview Web site has a lot of SVG
samples.


Irv



> Message-ID: <38EB6258.8090500@bellsouth.net>
> Date: Wed, 05 Apr 2000 11:57:12 -0400
> From: Richard Colbert <pc2k@bellsouth.net>
> To: www-svg@w3.org
> Subject: How do I embed?
>
> I am just finding out about SVG and I think it is a great concept and
> emerging technology. However, I have written a small SVG script that
> looks like this.....
>
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE svg PUBLIC PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
> "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
> <svg xml:space="preserve" width="1000" height="1000" >
> <style type="text/css">
>   .redbox{fill:#FF0000;}
>   .whitewords{font-family:Arial-Bold;font-size:36;fill:#FFFFFF;}
> </style>
> <g>
>   <rect class="redbox" x="10" y="0" width="460" height="50" />
>   <text class="whitewords" x="20" y="40" >This is a test of SVG.</text>
> </g>
> </svg>
>
> My problem is that I don't quite know how to go about using this in an
> actual website/webpage.
>
> I read that it could be <embed>'ed into a web page, although I have been
> unable to find any reference as to how to do this. I have also read that
> it could be linked into a web page, no luck finding anything on how to
> do this either.
>
> If you can help me with links, reference scripts, or plain old knowledge
> please email me directly at pc2k@bellsouth.net
>
> Thanks!
>
Received on Wednesday, 5 April 2000 13:32:47 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:18 GMT