Jump to content

File:Example svg.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 300 × 200 pixels, file size: 279 bytes)

Summary

Description
English: Example of SVG, an image format.

Source code:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   version="1.0"
   x="0"
   y="0"
   width="300"
   height="200"
   id="svg2">
  <defs
     id="defs4" />
  <g
     id="layer1">
    <rect
       width="300"
       height="120"
       x="0"
       y="20"
       style="fill:green;"
       id="rect1306" />
    <rect
       width="80"
       height="150"
       x="20"
       y="30"
       style="fill:red;"
       id="rect1308" />
    <rect
       width="140"
       height="80"
       x="50"
       y="50"
       style="fill:blue;"
       id="rect1310" />
  </g>
</svg>
 
The SVG code is valid.
 
This diagram was created with a text editor.
Previous version had been created with Inkscape (720 bytes)  d  now 36.39% of previous size
 
Please do not replace the simplified code of this file with a version created with Inkscape or any other vector graphics editor

Simplified source code:

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="300" height="200">
<rect width="300" height="120" y="20" fill="green"/>
<rect width="80" height="150" x="20" y="30" fill="red"/>
<rect width="140" height="80" x="50" y="50" fill="blue"/>
</svg>
Date
Source Own work
Author
 
This vector image was created with Inkscape by YolanC, and then manually edited by YolanC
.

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

1 February 2006

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current05:23, 9 July 2012Thumbnail for version as of 05:23, 9 July 2012300 × 200 (279 bytes)Sarangsimplified
01:27, 1 February 2006Thumbnail for version as of 01:27, 1 February 2006300 × 200 (720 bytes)YolanCExample of SVG, an image format. Source : <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1

Global file usage

The following other wikis use this file:

View more global usage of this file.