SVG Height and Width? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

SVG Height and Width?

There is no description for what it means and does. Anyone who knows? Code: <svg width="2000" height="1000"></svg>

19th Jan 2017, 12:53 PM
Simen Larsen Johansen
Simen Larsen Johansen - avatar
1 Answer
+ 3
SVG is a vector graphics text files format, based on XML standard ( as HTML ). So, it's a 'Markup Language' graphics oriented... In HTML, the <svg> tag element is a container for inserting this format inline... ( you can do also standalone svg files, which can be refered with the 'src' attribute of <img> tag element, as others bitmaps file format gif, jpg, png ) - about <svg> html tag element: https://developer.mozilla.org/en/docs/Web/SVG/Element/svg http://www.w3schools.com/html/html5_svg.asp - about svg gobaly: https://developer.mozilla.org/en/docs/Web/SVG - tutorials: https://developer.mozilla.org/en/docs/Web/SVG/Tutorial http://www.w3schools.com/graphics/svg_intro.asp - reference of all svg elements: https://developer.mozilla.org/en-US/docs/Web/SVG/Element
19th Jan 2017, 9:18 PM
visph
visph - avatar