Home Interview Questions and Answers SVG Interview Questions and Answers For Freshers Part-1

SVG1.What SVG stands for?
SVG stands for Scalable Vector Graphics.

2.What is SVG?
SVG is a XML based format to draw vector images. It is used to draw two − dimentional vector images.

3.What are the features of SVG?
Following are the core features of SVG −

SVG, Scalable Vector Graphics is an XML based language to define vector based graphics.

SVG is intended to display images over the web.

Being vector images, SVG image never loses quality no matter how they are zoomed out or resized.

SVG images supports interactivity and animation.

SVG is a W3C standard.

Others image formats like raster images can also be clubbed with SVG images.

SVG integrates well with XSLT and DOM of HTML.

4.What are the advantages of using SVG?
Following are the advantages of using SVG images −

Use any text editor to create and edit SVG images.

Being XML based, SVG images are searchable, indexable and can be scripted and compressed.

SVG images are highly scalable as they never loses quality no matter how they are zoomed out or resized.

Good printing quality at any resolution.

SVG is an Open Standard.

5.What are the disadvantages of using SVG?
Following are the disadvantages of using SVG images −

Being text format size is larger then compared to binary formatted raster images.

Size can be big even for small image.

6.Which tag of SVG is used to draw a rectangle?
‘rect’ tag of SVG is used to draw a rectangle.

7.Which tag of SVG is used to draw a circle?
‘circle’ tag of SVG is used to draw a circle.

8.Which tag of SVG is used to draw a ellipse?
‘ellipse’ tag of SVG is used to draw a ellipse.

9.Which tag of SVG is used to draw a line?
‘line’ tag of SVG is used to draw a line.

10.Which tag of SVG is used to draw a closed shape consisting of connected straight lines?
‘polygon’ tag of SVG is used to draw a closed shape consisting of connected straight lines.

You may also like

Leave a Comment