The <svg> tag | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

The <svg> tag

Please, what's the <svg> tag, what is used for and how do you use it?

14th Jul 2020, 12:29 PM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar
4 ответов
+ 5
Draw a circle: <svg width="100" height="100"> <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" /> </svg>. Definition and Usage The <svg> tag defines a container for SVG graphics. SVG has several methods for drawing paths, boxes, circles, text, and graphic images.
14th Jul 2020, 12:32 PM
Sâñtôsh - avatar
+ 4
Its used for drawing shapes Example: rect:rectangle; Circle:circle; Ellipse:an ellipse, check the svg topic for more info and a better explanation
14th Jul 2020, 12:52 PM
Goke Ekundayo
Goke Ekundayo - avatar
14th Jul 2020, 12:36 PM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
+ 1
14th Jul 2020, 12:33 PM
Abhay - avatar