🌈 搜索
📅  最后修改于: 2020-11-04 00:53:26             🧑  作者: Mango
的HTML标签定义HTML文件中可以显示另一个HTML网页的特定区域。
一种标签用于
注意:请勿使用HTML标签,因为HTML5不支持该标签,您可以使用要么CSS可以在HTML中实现类似的效果。 句法 < frame src = "URL" > 以下是有关HTML的一些规范标签 Display Block Start tag/End tag Start tag(required), End tag(forbidden) Usage Frames 例子1 创建垂直框架: Frame tag 输出: Frame1.html This is first frame Frame2.html This is Second frame Frame3.html This is Third frame 范例2: 创建水平框架: Frame tag 输出: 属性 特定于标签的属性 Attribute Value Description frameborder 0 1 It specifies whether to display a border around the frame or not, and its default value is 1 longdsec URL It specifies a page which contains the long description of the content of the frame. marginheight pixels It specifies the top and bottom margins of the frame. marginwidth pixels It defines the height of the margin between frames. name text It is used to assign the name to the frame. noresize noresize It is used to prevent resizing of the frame by the user. scrolling yes no auto It specifies the existence of the scrollbar for overflowing content. src URL It specifies the URL of the document which we want to display in a frame. 支持的浏览器 Element Chrome IE Firefox Opera Safari Yes Yes Yes Yes Yes
< frame src = "URL" >
以下是有关HTML的一些规范标签
Frame tag
输出:
Frame1.html
This is first frame
Frame2.html
This is Second frame
Frame3.html
This is Third frame