第五课:滚动标签,框架集,简易CSS样式

本文通过一个具体的实例展示了如何使用HTML和CSS进行页面布局。包括使用`<marquee>`元素实现文字滚动效果,以及利用`<iframe>`嵌入外部网页等技术。同时,还介绍了如何定义内联样式和引入外部样式表。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

    <body>
    <marquee direction="down"><center>天空飘来五个字</center></marquee>
    <marquee direction="up"><center>天空飘来五个字</center></marquee>
     <marquee direction="left">天空飘来五个字</marquee>
     <marquee direction="right">天空飘来五个字</marquee>
     <hr/>
     <center><mark>这都不是事</mark></center>
     <hr/>
     <iframe src="Untitled-3.html" width="0" height="0" scrolling="no" frameborder="0">
     </iframe>
     <center> 
         <iframe src="Untitled-2.html" width="900">
         </iframe>
     </center>
    </body>

这里,<iframe src="Untitled-3.html" width="0" height="0" scrolling="no" frameborder="0">,隐藏了一个网页。

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>加样式</title>
    
    <style type="text/css">
    #刘能 a{font-size:70px}
    </style>
    <link href="加样式.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div id="赵四" class="赵家班">佐罗</div>
    <span id="刘能" class="赵家班">
        <a>小丑</a>
    </span> 
</body>

转载于:https://www.cnblogs.com/zym0m/p/6963718.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值