Difference between revisions of "SVG Example"

From Level Access Web Labs
Jump to navigation Jump to search
Line 5: Line 5:
 
   "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
 
   "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
 
<html>
 
<html>
   <svg width="6in" height="4.5in" viewBox="0 0 600 450">
+
<svg width="300" height="110">
    <title>Network</title>
+
   <rect width="200" height="100" style="fill:rgb(0,0,250);stroke-width:2;stroke:rgb(0,0,0)">
    <desc>An example of a computer network based on a hub</desc>
+
</svg>
  </svg>
+
 
 
</html>
 
</html>
 
</pre>
 
</pre>

Revision as of 01:09, 14 April 2014

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
  "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
<html>
<svg width="300" height="110">
  <rect width="200" height="100" style="fill:rgb(0,0,250);stroke-width:2;stroke:rgb(0,0,0)">
 </svg>

</html>