Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
Javatpoint Logo
Javatpoint Logo

SVG First Example

Test it Now

The rendering process involves the following:

  • SVG images are defined within <svg> ...... </svg> element.
  • The width and height attributes of <svg> element is used to define the height and width of the SVG image.
  • In the above example, <circle> element is used to draw a circle.
  • cx and cy attribute is used to represent the center of the circle. Its default value is (0,0).
  • r attribute is used to represent the radius of circle.
  • Other attributes stroke and stroke-width is used to control the outlining of the circle.
  • fill attribute is used to define the fill color of the circle.

Next TopicSVG Basics Shapes





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA