feat: include SVG as <object>

This commit is contained in:
Settel 2024-10-11 11:10:14 +02:00
parent e68ffca544
commit 0d75370a9f
2 changed files with 7 additions and 3 deletions

View File

@ -7,11 +7,15 @@
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<header>
<main>
<div class="girlande">
<img src="girlande-600x100.svg" width="600" height="100" />
</div>
<div class="girlande">
<object type="image/svg+xml" data="girlande-600x100.svg"></object>
</div>
<div class="girlande">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
@ -333,6 +337,6 @@
</g>
</svg>
</div>
</header>
</main>
</body>
</html>

View File

@ -2,4 +2,4 @@
display: inline-block;
margin: 3rem;
border: 1px solid #000000;
}
}