zoukankan      html  css  js  c++  java
  • h5标签

    1、<abbr> 标签指示简称或缩写,比如 "WWW" 或 "NATO"。 IE 6 或更早版本的 IE 浏览器不支持 <abbr> 标签。

    2、acronym标记一个首字母缩写  

    <acronym title="World Wide Web">WWW</acronym>

    3、address地址

    4、<area> 标签定义图像映射中的区域(注:图像映射指得是带有可点击区域的图像)。

    5、<article> 标签规定独立的自包含内容。Internet Explorer 8 以及更早的版本不支持 <article> 标签。

    6、<aside> 标签定义其所处内容之外的内容。aside 的内容应该与附近的内容相关。 Internet Explorer 8 以及更早的版本不支持 <aside> 标签。

    7、<base> 标签为页面上的所有链接规定默认地址或默认目标。

    <head>
    <base href="http://www.w3school.com.cn/i/" />
    <base target="_blank" />
    </head>

    8、bdo 元素可覆盖默认的文本方向。(rtl右向左   ltr左向右)

    <bdo dir="rtl">Here is some text</bdo>

    9、<blockquote> 标签定义块引用。经常在左右两侧添加缩进

    10、<center> 对其所包括的文本进行水平居中。(不建议使用)

    11、<cite> 标签通常表示它所包含的文本对某个参考文献的引用,比如书籍或者杂志的标题。

    12、<col>标签为表格中一个或多个列定义属性值。(只能放在table或colgroup 中)

    <table width="100%" border="1">
      <col align="left" />
      <col align="left" />
      <col align="right" />
      <tr>
        <th>ISBN</th>
        <th>Title</th>
        <th>Price</th>
      </tr>
      <tr>
        <td>3476896</td>
        <td>My first HTML</td>
        <td>$53</td>
      </tr>
    </table>

    13、<datalist> 标签定义选项列表。请与 input 元素配合使用该元素,来定义 input 可能的值。

    <input id="myCar" list="cars" />
    <datalist id="cars">
      <option value="BMW">
      <option value="Ford">
      <option value="Volvo">
    </datalist>

    14、<del>定义文档中已被删除的文本。

     15、<embed> 标签定义嵌入的内容,比如插件。

    16、fieldset 元素可将表单内的相关元素分组。

    <form>
      <fieldset>
        <legend>health information</legend>
        height: <input type="text" />
        weight: <input type="text" />
      </fieldset>
    </form>

    17、legend 元素为 fieldset 元素定义标题(caption)。

    18、<figure> 标签规定独立的流内容(图像、图表、照片、代码等等)。Internet Explorer 8 以及更早的版本不支持 <figure> 标签。

    19、<footer> 标签定义文档或节的页脚。Internet Explorer 8 以及更早的版本不支持 <footer> 标签。

    20、<header> 标签定义文档的页眉(介绍信息)。Internet Explorer 8 以及更早的版本不支持 <header> 标签。

    21、<i> 标签显示斜体文本效果。

    21、<ins>请与 <del> 一同使用,来描述文档中的更新和修正。

    a dozen is <del>20</del> <ins>12</ins> pieces

    23、<nav> 标签定义导航链接的部分。Internet Explorer 8 以及更早的版本不支持 <nav> 标签。

    24、noscript 元素用来定义在脚本未被执行时的替代内容(文本)。

    25、<optgroup> 标签定义选项组。

    <select>
      <optgroup label="Swedish Cars">
        <option value ="volvo">Volvo</option>
        <option value ="saab">Saab</option>
      </optgroup>
    
      <optgroup label="German Cars">
        <option value ="mercedes">Mercedes</option>
        <option value ="audi">Audi</option>
      </optgroup>
    </select>

    26、pre 元素可定义预格式化的文本。被包围在 pre 元素中的文本通常会保留空格和换行符。(一般用于存放代码)

    27、<s> 标签可定义加删除线文本定义。

    28、<section> 标签定义文档中的节(section、区段)。比如章节、页眉、页脚或文档中的其他部分。

    <section>
      <h1>PRC</h1>
      <p>The People's Republic of China was born in 1949...</p>
    </section>

    29、<small> 标签呈现小号字体效果。

    30、<strike> 标签可定义加删除线文本定义。

    31、<sub> 标签可定义下标文本。

    32、<sup> 标签可定义上标文本。

    33、<tt> 标签呈现类似打字机或者等宽的文本效果。

    34、<u> 标签可定义下划线文本。

    35、<b> 加粗文本。

    36、<big>大号文本

  • 相关阅读:
    AngularJS Insert Update Delete Using PHP MySQL
    Simple task manager application using AngularJS PHP MySQL
    AngularJS MySQL and Bootstrap Shopping List Tutorial
    Starting out with Node.js and AngularJS
    AngularJS CRUD Example with PHP, MySQL and Material Design
    How to install KVM on Fedora 22
    Fake_AP模式下的Easy-Creds浅析
    河南公务员写古文辞职信
    AI
    政协委员:最大愿望是让小学生步行上学
  • 原文地址:https://www.cnblogs.com/dongxiaolei/p/7008800.html
Copyright © 2011-2022 走看看