Beispiel:Iframe-2.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html>
<head>
  <title>Youtube im iframe</title>
  <style>
    body {
      font-family: sans-serif;
    }
    iframe {
      width: 90%;
      height: 700px;
      resize: both;
	  border: thin solid;
    }
  </style>
</head>
<body>
  <h1>Wie hört sich meine Webseite im Screenreader an?</h1>


<iframe width="907" height="776" src="https://www.youtube.com/embed/5D_DpER9xTU" title="Wie hört sich meine Webseite im Screenreader an" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
  <p>Dieses Youtube-Video können Sie sich unter <a href="https://www.youtube.com/watch?v=5D_DpER9xTU">https://www.youtube.com/watch?v=5D_DpER9xTU</a> ansehen.

</body>
</html>