HTML <iframe> srcแอตทริบิวต์
ตัวอย่าง
<iframe> ในการใช้งานที่ง่ายที่สุด:
<iframe src="/default.asp"></iframe>
ความหมายและการใช้งาน
แอตทริบิวต์src
ระบุที่อยู่ของเอกสารที่จะฝังใน iframe
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
src | Yes | Yes | Yes | Yes | Yes |
ไวยากรณ์
<iframe src="URL">
ค่าแอตทริบิวต์
Value | Description |
---|---|
URL | Specifies the URL of the document to embed in the iframe. Possible values:
|
❮ แท็ก HTML <iframe>