zoukankan      html  css  js  c++  java
  • 0502基础标签学习:框架标签、其他标签

    其他html标签
    |-框架标签
    |--1、<frameset></frameset>
    |----html文档中不能有<body></body>
    |----cols 横向排列  rows 纵向排列 300,*
    |----frameborder  框架的边框
    |----src 引入页面的地址

    <frameset rows="300,*"frameborder="0">
    <frame src="../../xiaomi/zhuye.html"/>
    <frame src="../0428/zuoye0428.html"/>
    </frameset>


    |--2、<iframe></iframe>
    |--src 引入页面地址
    |--width宽 height高 scrolling是否显示滚动条
    |----frameborder  框架的边框

    <iframe src="https://map.baidu.com/" height="300" width="300px" scrolling="auto" frameborder="no"></iframe>
    


    |-其他标签
    |--1、<marquee></marquee>实现文字与图片的滚动
    |----direction 实现往不同方向滚动
    |----默认高度是200 宽度是浏览器的宽度

    <marquee direction="down" height="500">
      <img src="../../xiaomi/xiaoguanggao.png"/>
    </marquee>


    |--2、<mark></mark> 标记作用,默认黄色
    |--3、<hr /> 水平线

    这是<mark>第一行</mark><br />
    这是第二行


    |--4、<video></video>
    |----autoplay 视频在就绪后马上播放
    |----controls 向用户显示控件,比如播放按钮
    |----width height  播放窗口的宽高
    |----src 视频的url
    |----loop 循环播放
    |----preload 页面加载时进行加载,并预备播放

    <video src="IMG_0440.MP4" preload="" controls="controls" loop="loop"></video>

  • 相关阅读:
    【SCOI 2011】 糖果
    【POJ 3159】 Candies
    【POJ 1716】 Integer Intervals
    【POJ 2983】 Is the information reliable?
    【POJ 1364】 King
    【POJ 1201】 Intervals
    【POJ 1804】 Brainman
    6月10日省中提高组题解
    【POJ 3352】 Road Construction
    【POJ 1144】 Network
  • 原文地址:https://www.cnblogs.com/mjwwzy/p/9033655.html
Copyright © 2011-2022 走看看