Beispiel:SVG-Einbindung-1.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html lang="de">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css">
  <style>
figure {
  width: 200px;
  height: 200px;
  background: white;
  border: thin dotted #337599;
  }  
 
  </style>
  <title>Beispiel: Einbindung von SVG als img</title>
</head>
 
<body>
  <h1>Einbindung von SVG als img</h1>
 
    <figure>
      <img alt="self-Logo" src="https://wiki.selfhtml.org/images/4/45/SELF-Logo.svg">
      <figcaption>Das Self-Logo als img</figcaption>
    </figure>
 
</body>
</html>