Blogger Information
Blog 7
fans 0
comment 0
visits 2506
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
介绍标签属性和tabview
吴泽方
Original
403 people have browsed it

一、html属性

  • 1.通用属性
  • 2.预置属性: 是通用属性的一个子集
  • 3.事件属性
  • 4.自定义属性

通用属性

<button class="botView" style=""></button>

预置属性

id, class, style都是预置的属性
<button class="botView" style=""></button>

事件属性

<button onclick="alert('提交成功')">提交</button>

二、常用标签

a标签图片嵌套


<a href="https:www.baidu.com"><img src="imags/lds1.png" alt="故障码" width="100" > </a>

三、通常一个页面组成

  • head
  • mail
  • footer

可用<div>自定义 也可使用系统提供的

  1. <header>header</header>
  2. <main>main</main>
  3. <footer>footer</footer>

四、tabview表格

  1. <table width="300" cellpadding="10" border="1" align="left" style="border-collapse: collapse;text-align: center;">
  2. <caption> 故障码列表 </caption>
  3. <tbody>
  4. <tr>
  5. <td rowspan="2" bgcolor="#808080">当前故障码</td>
  6. <td>p001</td>
  7. <td>p002</td>
  8. <td>p003</td>
  9. <td>p004</td>
  10. </tr>
  11. <tr>
  12. <td>p005</td>
  13. <td>p006</td>
  14. <td>p007</td>
  15. <td>p008</td>
  16. </tr>
  17. <tr>
  18. <td colspan="5" bgcolor="#C0C0C0"></td>
  19. </tr>
  20. <tr>
  21. <td rowspan="2" bgcolor="#C0C0C0">未决定故障码</td>
  22. <td>B0001</td>
  23. <td>B0002</td>
  24. <td>B0003</td>
  25. <td>B0004</td>
  26. </tr>
  27. <tr>
  28. <td>B0005</td>
  29. <td>B0006</td>
  30. <td>B0007</td>
  31. <td>B0008</td>
  32. </tr>
  33. </tbody>
  34. </table>

表格如下图

五、导航列表

  1. <a href="https:www.baidu.com"><img src="imags/lds1.png" alt="故障码" width="100" > </a>
  2. <br>
  3. <a href="https:www.baidu.com" alin>读取故障码</a>
  4. <br>
  5. <br>
  6. <a href="https:www.baidu.com"><img src="imags/lds2.png" alt="故障码" width="100" > </a>
  7. <br>
  8. <a href="https:www.baidu.com" alin>清除故障码</a>
  9. <br>
  10. <br>
  11. <a href="https:www.baidu.com"><img src="imags/lds3.png" alt="故障码" width="100" > </a>
  12. <br>
  13. <a href="https:www.baidu.com" alin>车载监控</a>

![导航列表]

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post