x
 
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>
<div class="w3-container w3-teal">
    <h1>Test Iframe</h1>
</div>
<div class="w3-container">
    <iframe srcdoc="<html><body>Inhalt in einem IFrame mit dem srcdoc-Attribut,
    das CSS der Seite beeinflusst diesen Inhalt nicht.</body></html>"></iframe>
</div>
<p>Dies ist Text außerhalb des Iframes, man sieht, dass eine andere Schrift verwendet wird.</p>
</body>
</html>