Atribut src HTML <iframe>
Contoh
Sebuah <iframe> dalam penggunaan yang paling sederhana:
<iframe src="/default.asp"></iframe>
Definisi dan Penggunaan
Atribut src
menentukan alamat dokumen yang akan disematkan dalam iframe.
Dukungan Peramban
Attribute | |||||
---|---|---|---|---|---|
src | Yes | Yes | Yes | Yes | Yes |
Sintaksis
<iframe src="URL">
Nilai Atribut
Value | Description |
---|---|
URL | Specifies the URL of the document to embed in the iframe. Possible values:
|
tag HTML <iframe>