其他分享
首页 > 其他分享> > frameset标签

frameset标签

作者:互联网

aaa.html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <style>body{text-align: center;}</style>
    <body bgcolor="aqua">
        <h2>邮箱</h2>
    </body>
</html>

bbb.html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <a href="ddd.html" target="aaa">收件箱</a><br /><br />
        
        <a href="#">写邮件</a><br /><br />
        <a href="#">草稿箱</a><br /><br />
    </body>
</html>

ccc.html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
    </body>
</html>

ddd.html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <style>body{text-align: center;}</style>
    <body>
        <font size="4" >您在本月的1号购买了火车票</font>
    </body>
</html>

index.html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    
    <frameset rows="15%,*">
        <frame src="aaa.html" />
        <frameset cols="15%,*">
            <frame src="bbb.html" />
            <frame src="ccc.html" name="aaa"/>
        </frameset>
        
    </frameset>
    
</html>

点击收件箱,展示效果

 

标签:body,frameset,center,text,align,收件箱,html,标签
来源: https://www.cnblogs.com/gxlaqj/p/10878557.html