sbc11

day3

正文排版

点击查看代码
<html>
  <head>
    <title>新闻</title>
    <style>
      h1{
        color: brown;
      }
      .cls{
        color: aquamarine;
      }
      a{
        color: blue;
        text-decoration: none;
      }
      p{
        text-indent: 35px;/*设置首行缩进*/
        line-height: 40px;/*设置行高*/
      }
      #plast{
        text-align: right;/*设置对齐方式*/
      }
    </style>
  </head>
  <body>
  <img src="55a5bd46d103204cbde397e6ae795044.jpg" width="160" height="90">
  <img src="img/new_logo.png"><a href="http://gov.sina.com.cn/" target="_self">新浪政务</a>>正文
  <h1>新闻</h1>
  <hr>
  <span class="cls">2025年1月18日</span> <span><a href="http://gov.sina.com.cn/" target="_blank" >新闻</a></span>
  <hr>
  <p>
    <b>水娘连招</b>
  </p>
  <video src="1月4日.mp4" controls="controls" width="950x"></video>
  <p>
  <strong>沈妙连招</strong>
  </p>
  <video src="12月22日.mp4" controls="controls" width="750x"></video>
  <p id ="plast">沈八才</p>
  </body>
</html>
盒子模型


总结

posted on 2025-01-19 15:52  沈八才11  阅读(16)  评论(0)    收藏  举报

导航