Frame Tag
label |
description |
iframe |
The definition of an inline iframe |
Properties frame labels
Attributes |
Explanation |
class |
Prescribed class name element (classname) |
id |
The only element of id specified |
style |
Prescribed elements inline style (inline style) |
title |
Additional information specified elements (can be displayed in the tooltip) |
The sample code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>W3Cschool(w3cschool.cn)</title>
</head>
<body>
<iframe src="//www.w3cschool.cn/" width="200" height="200" frameborder="0">
<p>您的浏览器不支持 iframe 标签。</p>
</iframe>
</body>
</html>