HTMLKopieren<button type="button" onclick="document.getElementById('info').showModal()">Information öffnen</button> <dialog id="info"> <h2>Information</h2> <p>Inhalt des Dialogs.</p> <form method="dialog"><button>Schließen</button></form> </dialog>Hinweis: Tastaturbedienung und Fokusführung bei komplexeren Dialogen zusätzlich testen.HTMLDialogModalWeb← Zur CodebibliothekUnterstützung anfragen