html–基础知识(table表格)
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <!-- table 表格写法 表单 tr 表格行 th 表头 td 表格单元 caption 表格标题 语义化标签:让标签更好记一些 thead/tFood tBody:在table中可以出现多次 给table表格增加 border 表格边框 cellpadding 单元格内的空间 cellspacion 单元格之间的空间 rowspan 合并行 colspan 合并列 align :left左,center中,right右 左右对齐方式 valign :top 上,middle中,bottom下 上下对齐 --> </head> <body> <table border="2" cellpadding="22" cellspacing="22" valign="middle"> <caption>传输列表</caption> <tr valign="middle"> <td rowspan="2">正在上传 </td> <td colspan="200">正在下载 </td> <td rowspan="2">传输列表 </td> </tr> <tr align="left"> <th>文件名称 </th> <th>文件大小 </th> <th>下载状态 </th> <th>下载进度 </th> <th>操作</th> </tr> </table> </body> </html>
原文链接:https://www.cnblogs.com/wsx123/p/15703612.html
本文来源 爱码网,其版权均为 原网址 所有 与本站无关,文章内容系作者个人观点,不代表 本站 对观点赞同或支持。如需转载,请注明文章来源。
© 版权声明
文章版权归作者所有,未经允许请勿转载。