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>

  • 相关阅读:
    coredata
    去除XIB上UITextView光标垂直居中问题
    IOS 开发使用SVN
    CSS层叠样式表--找到标签
    简单的爬虫
    HTML
    13索引
    12事务
    12内建函数
    11存储过程
  • 原文地址:https://www.cnblogs.com/dusong0717/p/3629237.html
Copyright © 2011-2022 走看看