Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

SVG Tutorial
SVG Introduction
SVG Example
SVG in HTML
SVG Rectangle
SVG Circle
SVG Ellipse
SVG Line
SVG Polygon
SVG Polyline
SVG Path
SVG Filters
SVG Gussian Blur
SVG Gradient-Linear
SVG Gradients-Radial
SVG Elements Reference

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


Introduction to SVG
Previous Next



What is SVG?
  • SVG stands for Scalable Vector Graphics.


  • It defines graphics in XML format.


  • Note:
  • SVG files are always saved with an .svg extension




Why We Use SVG?

  • SVG is the ScalableVector Grahpics

  • It is a high-end 2D graphics using XML tags

  • It uses XML = plain-vanilla text

  • It uses CSS for styling

  • It is a W3C recommendation (=Web standard); 600+ pages spec

  • The first draft published in February 1999; V1.0 published in September 2001 (two and half year later)



What is SVG not?

  • SVG is not 3D graphic language like VRML

  • SVG is not appropriate for creating photos (but you can embed photos in SVG files)



  • Sample SVG Tags

    Shape Tags: <line>, <rect>, <circle>, <ellipse>, <polyline>, <polygon>, <path>

    Paint Tags: <linearGradient>, <radialGradient>, <pattern>, <mask>

    Text Tags: <text>, <tspan>, <textPath>, <font>, <font-face>, <glyph>

    Filter Tags: <filter>, <feBlend>, <feFlood>, <feColorMatrix>, <feGaussianBlur>, <feMorphology><feSpotLight>

    Animation Tags: <animate>, <animateMotion>, <animateTransform>, <animateColor>, <set>

    Misc Tags: <image>, <symbol>, <g>, <defs>, <use>

    And Etc.



    Advantages and History of SVG

    SVG 1.1 became W3C Recommendation in January 2003.

    Sun Microsystems, Adobe, Apple, IBM, and Kodak are the organizations that have been involved in defining SVG.

    Advantages of using SVG over other image formats (like JPEG and GIF) are as follows:

    • SVG files can be read and modified by a large range of tools like notepad

    • SVG files are smaller and more compressible than JPEG and GIF image

    • SVG images are always scalable

    • SVG images can be printed in high quality at any resolution

    • SVG images are also zoomable. Any part of the image can be zoomed without having degradation

    • Text in SVG is selectable and searchable (excellent for making map)

    • Now SVG works with Java technology

    • SVG is an open source standard

    • SVG files are pure XML files

    The main competitor to SVG is Flash only.

    The biggest advantage SVG has over Flash is the compliance with other standards like XSL and the DOM. Flash relies on proprietary technology that is not open source standard.

    A drawback of SVG is that not all browsers support it. Mozilla browsers, Firefox, and Opera support SVG, and Microsoft plan to support SVG.

    The number of SVG editors are growing, and Adobe GoLive 5 supports SVG also.

    Look at a directory of SVG enabled softwares and services

    To view SVG files , you may have to install a plug-in such as the Adobe SVG Viewer.

    A quick Example
    <?xml version="1.0" standalone="no"?>
    <svg width="200%" height="200%" version="1.1">

    <g style="fill-opacity:0.7; stroke:black; stroke-width:0.1cm;">
    <circle cx="6cm" cy="2cm" r="100" style="fill:red;" transform="translate(0,50)" />

    </g>
    </svg>
    O/P:
    Viewing SVG File

    If your browser does not support SVG files, you will have to download an SVG viewer to view SVG files.

    Note: Firefox 1.5 and Opera 9 have native SVG support. If you are using one of these browsers, you do not need to install SVG viewer.

    Download SVG Viewer for FREE from Adobe.

    » What You Should Already Know?

    Before you continue you should have some basic understanding of the following language:

    • HTML
    • XML

    If you want to study this subject first, find the tutorials on our Home page.




    Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
    • blinkbits
    • BlinkList
    • blogmarks
    • co.mments
    • connotea
    • del.icio.us
    • De.lirio.us
    • digg
    • Fark
    • feedmelinks
    • Furl
    • LinkaGoGo
    • Ma.gnolia
    • NewsVine
    • Netvouz
    • RawSugar
    • Reddit
    • scuttle
    • Shadows
    • Simpy
    • Smarking
    • Spurl
    • TailRank
    • Wists
    • YahooMyWeb

    Previous Next

    Keywords: svg viewer, svg file, svg text, svg editor, adobe svg, svg distribution, svg graphics, nbc radio svg, javascript svg, svg antivirus


    HTML Quizes
    HTML Quiz
    XHTML Quiz
    CSS Quiz
    TCP/IP Quiz
    XML Quizes
    XML Quiz
    XSL Quiz
    XSLT Quiz
    DTD Quiz
    Schema Quiz
    XForms Quiz
    XSL-FO Quiz
    XML DOM Quiz
    XLink Quiz
    XQuery Quiz
    XPath Quiz
    XPointer Quiz
    RDF Quiz
    SOAP Quiz
    WSDL Quiz
    RSS Quiz
    WAP Quiz
    Web Services Quiz
    Browser Scripting Quizes
    JavaScript Quiz
    VBScript Quiz
    AJAX Quiz
    DHTML Quiz
    HTML DOM Quiz
    WMLScript Quiz
    E4X Quiz
    Server Scripting Quizes
    ASP Quiz
    PHP Quiz
    PERL Quiz
    SQL Quiz
    ADO Quiz
    .NET (dotnet) Quizes
    Microsoft.Net Quiz
    XML Web Services Quiz
    ASP.Net Quiz
    .Net Mobile Quiz
    C# : C Sharp Quiz
    ADO.NET Quiz
    VB.NET Quiz
    Multimedia Quizes
    SVG Quiz
    Flash Quiz
    Media Quiz
    SMIL Quiz
    Web Building  Quizes
    Web Browsers Quiz
    Web Hosting Quiz
    W3C Quiz
    Web Building Quiz
    Web Quality Quiz
    Web Semantic Quiz
    Web Careers Quiz
    Java Quizes
    Java Quiz
    JSP Quiz
    Servlets Quiz
    Struts Quiz
    EJB Quiz
    JMS Quiz
    JMX Quiz
    Programming Langauges Quizes
    C Quiz
    C++ Quiz
    Visual Basic Quiz
    Data Structures Using C Quiz
    Soft Skills Quizes
    Communication Skills Quiz
    Time Management Quiz
    Project Management Quiz
    Team Work Quiz
    Leadership Skills Quiz
    Corporate Communication Quiz
    Negotiation Skills Quiz

    Privacy Policy
    Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.