首页  >  文章  >  web前端  >  HTML table 直列化格式详解

HTML table 直列化格式详解

高洛峰
高洛峰原创
2017-02-10 10:31:171793浏览

下面小编就为大家带来一篇HTML table 直列化格式详解。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧

直列化格式

...

属性名称                                          属性值                            说明

align                                            left                                                 靠左
                                                   center                                             靠中
                                                   right                                               靠右
valign                                         top                                                  靠上
                                                  middle                                             靠中
                                                  bottom                                            靠下
span                                           数字                                                直列数

bgcolor                                      颜色                                                背景颜色

个别直列设置

格式:功能完全和一样


XML/HTML Code复制内容到剪贴板

  1. >  

  2.   

  3. <html xmlns="http://www.w3.org/1999/xhtml">  

  4. <head>  

  5.     <title>表格的直列化格式title>  

  6. head>  

  7. <body>  

  8.     <table cellpadding="5px" cellspacing="0px" border="1px" bordercolor="black">  

  9.