<object data="algerie.svg" type="image/svg+xml"></object>
<!-- external svg -->
<img src="mySvgImage.svg" />
<!-- internal svg example -->
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="100" x="50" y="50"/>
</svg>
<img src="image.svg" />
<svg width="100" height="100"> <!-- Draws a circle -->
<circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
</svg>
<svg width="400" height="100"> <!-- Draws a rectangle -->
<rect width="400" height="100" style="fill:rgb(0,0,255);stroke-width:10;stroke:rgb(0,0,0)" />
</svg>
<svg width="300" height="200"> <!-- Draws a star -->
<polygon points="100,10 40,198 190,78 10,78 160,198"
style="fill:lime;stroke:purple;stroke-width:5;fill-rule:evenodd;" />
</svg>
<img src="image.svg" width="100" height="100" />
Code Example |
---|
Html :: select country dropdown with flag |
Html :: html video multiple elements |
Html :: javascript wait for image to load |
Html :: links in html |
Html :: react native force light mode |
Html :: picture tag |
Html :: ocultar div css |
Html :: blobs fish |
Html :: how to get the input of a textbox in html |
Html :: meta for author |
Html :: angular foreach html |
Html :: html5 audio |
Html :: button md file |
Html :: how to add bg html |
Html :: jquery loop print html() |
Html :: checkbox html style |
Html :: index.html is stored in folder github |
Html :: lightweight charts cdn |
Html :: HTML how to create texts in body |
Html :: simple html dom |
Html :: tailwind css alert |
Html :: <marquee</marquee tag |
Html :: same form two submits |
Html :: carousel html example |
Html :: images html |
Html :: collapsible accordion html+css only |
Html :: how to create bold text in html |
Html :: html line break |
Html :: input types html |
Html :: underline code |