search

Home  >  Q&A  >  body text

<caption> <colgroup><col> <thead><tbody><tfoot> How to use these tags

<caption> <colgroup><col> <thead><tbody><tfoot> 

wenzhengwenzheng2750 days ago1274

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-07-09 22:23:14

    1. <caption> is used in the <table> tag to generate table titles. This is a recommended usage, the language is accurate, and it is conducive to optimization.

    2. <colgroup> is a tag used for table column projection operations. It is mainly used to add styles to a certain column. It can be considered as a column: hook.

    3. <thead> is a special tag for the table header. It is recommended that the table header <tr><th> tag group be placed in <thead> because many frameworks use this tag to add predefined styles. , such as: Bootstrap.

    4. The <tfoot> tag has the same function as the previous <thead> tag and is used to describe information at the bottom of the table. Similar to it, there is also a<tbody>

    who can ask such a question. It seems that he is studying seriously. Come on, I am optimistic about you~~

    reply
    0
  • Cancelreply