Coder Social home page Coder Social logo

html_table's Introduction

表格練習

1.<table>元素:標示表格

屬性

  • summary="...":指定表格說明文字

  • width="...":指定表格的寬度

  • align="{left、right、center}":指定表格對齊方式

  • bgcolor="color\#rrggbb":指定表格背景顏色

  • border="n":指定表格框線大小(像素)

    2.<tr>元素:標示表格中一列(row)

    屬性

  • align="{left、right、center、justify、char}":指定表格某列的儲存格水平對其方式

  • valign="{top、middle、bottom、baseline}":指定表格儲存格垂直對齊方式

  • bgcolor="color\#rrggbb":指定表格背景顏色

    3.<td>元素:一列中標示儲存格

    屬性

  • align="{left、right、center、justify、char}":指定表格某列的儲存格水平對其方式

  • valign="{top、middle、bottom、baseline}":指定表格儲存格垂直對齊方式

  • bgcolor="color\#rrggbb":指定表格背景顏色

  • colspan="n":指定某個儲存格是由幾欄合併而成

  • rowspan="n":指定某個儲存格是由幾列合併而成

  • nowrap="n":取消某個儲存格文字換行

    4.<th>元素:一列中標示標題儲存格,其內容會置中並加上粗體。屬性和<td>相同

    5.<caption>元素:表格標題,該標題可以是文字或圖片

  • html_table's People

    Contributors

    wentingtseng avatar

    Watchers

    James Cloos avatar

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.