页面结构分析和iframe内联框架

1.页面结构分析

页面结构分析

元素名描述
header标题头部区域的内容(用于页面或页面中的一块区域)
footer标记脚部区域的内容(用于整个页面或页面的一块区域)
sectionWeb网页中的一块独立区域
article独立的文章内容
aside相关内容或应用
nav导航类辅助内容
<!DOCTYPE html>
<html lang=""en"">
<head>
    <meta charset=""UTF-8"">
    <title>页面结构</title>
</head>
<body>

<header>
    <h2>网页头部</h2>
</header>

<section>
    <h2>网页主题</h2>
</section>

<footer>
    <h2>网页脚部</h2>
</footer>

</body>
</html>

2.iframe内联框架

iframe内联框架

<!DOCTYPE html>
<html lang=""en"">
<head>
    <meta charset=""UTF-8"">
    <title>内联框架</title>
</head>
<body>
<!--B站分享-->
<!--<iframe src=""//player.bilibili.com/player.html?aid=55631961&bvid=BV1x4411V75C&cid=97257967&page=11""-->
<!--        scrolling=""no"" border=""0"" frameborder=""no"" framespacing=""0"" allowfullscreen=""true""> </iframe>-->

<!-- iframe内联框架
src : 地址
w-h : 宽度高度
-->
<iframe src=""https://www.baidu.com"" frameborder=""0"" width=""1000px"" height=""800px""></iframe>

<iframe src="""" name=""hello"" frameborder=""0""></iframe>
<a href=""http://koibito.top"" target=""_self"">点击跳转</a>

</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值