Blogger Information
Blog 5
fans 0
comment 0
visits 2422
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
表单练习之商品表
P粉123761497
Original
440 people have browsed it

商品表

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>商品表</title>
  8. </head>
  9. <body>
  10. <table border="2">
  11. <caption>商品表</caption>
  12. <thread>
  13. <tr>
  14. <td>分类</td>
  15. <td>品名</td>
  16. <td>单价</td>
  17. <td>数量</td>
  18. <td>金额</td>
  19. </tr>
  20. </thread>
  21. <tbody>
  22. <tr>
  23. <td rowspan="2"></td>
  24. <td>白酒</td>
  25. <td>2500</td>
  26. <td>2</td>
  27. <td>5000</td>
  28. </tr>
  29. <tr>
  30. <!-- <td>酒</td> -->
  31. <td>朗姆酒</td>
  32. <td>200</td>
  33. <td>5</td>
  34. <td>1000</td>
  35. </tr>
  36. <tr>
  37. <td rowspan="2">手机</td>
  38. <td>华为</td>
  39. <td>10000</td>
  40. <td>2</td>
  41. <td>20000</td>
  42. </tr>
  43. <tr>
  44. <!-- <td>手机</td> -->
  45. <td>小米</td>
  46. <td>5000</td>
  47. <td>2</td>
  48. <td>10000</td>
  49. </tr>
  50. </tbody>
  51. <tfoot>
  52. <tr>
  53. <td colspan="3">总计:</td>
  54. <td>11</td>
  55. <td>36000</td>
  56. </tr>
  57. </tfoot>
  58. </table>
  59. </body>
  60. </html>

效果如下:

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