Heim  >  Fragen und Antworten  >  Hauptteil

<caption> <colgroup><col> <thead><tbody><tfoot> So verwenden Sie diese Tags

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

wenzhengwenzheng2711 Tage vor1226

Antworte allen(1)Ich werde antworten

  • 天蓬老师

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

    1、<caption>用在<table>标签内,用于生成表格标题,这是一种推荐的用法,语言准确,利于优化。

    2、<colgroup>是用于表格列投影操作的标签,主要用于为某一列添加样式用的,可以认为是列的:钩子。

    3、<thead>是表格头部专用标签,推荐表格头部<tr><th>标签组放在<thead>中,因为很多框架是用这个标签来添加预定义样式的,比如:Bootstrap。

    4、<tfoot>标签,与上一个<thead>标签的功能是一样的,用于表格底部信息描述。与它类似的还有一个<tbody>

    能提出这样的问题,看来是认真在学习,加油,看好你~~

    Antwort
    0
  • StornierenAntwort