zoukankan      html  css  js  c++  java
  • html标准写法

     1 <!--doctype指定文档类型htm-->
     3 <!doctype html> 
     4 <html>
     5 <header>
     6     <!--设置字符集 utf-8-->
     7     <meta charset="utf-8">
     8     <style>
     9        <!--这里写你的css代码-->
    10     </style>
    11     <script>
    12      //这里写你的js代码
    13     </script>
    14 </header>
    15 <body>
    16      <!--这里bof体内容-->
    17 </body>
    18 </html>
    接下来介绍html标签
    <br/> 换行标签
      //不换行
      <nobr>
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    </nobr>
      //居中样式
    <center>
    <p>saddddddddddddddddddddddddddddddddd</p>
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    <img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
    </center>

  • 相关阅读:
    Scala--基础
    maven
    Storm 运行例子
    Storm 安装部署
    Storm
    Kafka 集群部署
    Redis Twemproxy
    Redis Sentinel
    获取URL中参数的值
    浏览器滚动条样式
  • 原文地址:https://www.cnblogs.com/dusong0717/p/3629237.html
Copyright © 2011-2022 走看看