I m new to svg,
I took a look svg creation for making simple circle.
In w3schools example:
<!DOCTYPE html>
<html>
<body>
<svg height="100" width="100">
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
Sorry, your browser does not support inline SVG.
</svg>
</body>
</html>
And some other resources,
Like this,
<!DOCTYPE html>
<html xmlns="http://ift.tt/lH0Osb">
<head>
<meta charset="UTF-8"/>
<title>SVG Included with <object> tag</title>
</head>
<body>
<h1>An SVG rectangle (via <object> tag)</h1>
<object type="image/svg+xml" data="web_square.svg">
<img src="web_square.png" alt="Blue Square"/>
</object>
</body>
</html>
I want to know, here what it is web_square.svg
, is it svg file? yes means, where is the content?
I want to know the way include svg file in xml and html.
Please can anyone give me your suggestions?
Thank you.
Aucun commentaire:
Enregistrer un commentaire