HTML <iframe> src- Attribut
Beispiel
Ein <iframe> in seiner einfachsten Verwendung:
<iframe src="/default.asp"></iframe>
Definition und Verwendung
Das src
Attribut gibt die Adresse des Dokuments an, das in einen Iframe eingebettet werden soll.
Browser-Unterstützung
Attribute | |||||
---|---|---|---|---|---|
src | Yes | Yes | Yes | Yes | Yes |
Syntax
<iframe src="URL">
Attributwerte
Value | Description |
---|---|
URL | Specifies the URL of the document to embed in the iframe. Possible values:
|
❮ HTML <iframe>-Tag