add svg to html
<!-- 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>
add svg to html
<!-- 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>
using svg in html
<img src="image.svg" />
html img svg
<img
src="equilateral.svg"
alt="un triangle aux trois côtés égaux"
height="87px"
width="100px" />
how to add an svg image to html
<body>
<img src="blabla.svg" alt="blabla_is_working">
</body>
css for svg
/* the following css properties are allowed to use in svg */
alignment-baseline, baseline-shift, clip-path, clip-rule, color,
color-interpolation, color-interpolation-filters, color-rendering,
cursor, direction, display, dominant-baseline, fill-opacity, fill-rule,
filter, flood-color, flood-opacity, font-family, font-size,
font-size-adjust, font-stretch, font-style, font-variant, font-weight,
glyph-orientation-horizontal, glyph-orientation-vertical,
image-rendering, letter-spacing, lighting-color, marker-end, marker-mid,
marker-start, mask, opacity, overflow, paint-order, pointer-events,
shape-rendering, stop-color, stop-opacity, stroke, stroke-dasharray,
stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit,
stroke-opacity, stroke-width, text-anchor, text-decoration,
text-overflow, text-rendering, unicode-bidi, vector-effect, visibility,
white-space, word-spacing, writing-mode
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us