Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· openaiHugging Face Suzhen/CodeChat

请给出几个采用样式表的Web表格示例,要求有3列

  1. User

    请给出几个采用样式表的Web表格示例,要求有3列

  2. Assistant
    1. 学生成绩表
    姓名数学成绩英语成绩
    张三9085
    李四7892
    王五8587
    table {
      border-collapse: collapse;
      width: 100%;
    }
    th, td {
      text-align: center;
      padding: 8px;
    }
    th {
      background-color: #4CAF50;
      color: white;
    }
    tr:nth-child(even) {
      background-color: #f2f2f2;
    }
    
    1. 蔬菜价格表
    蔬菜名称市场价格农村价格
    西红柿3.50元/kg2.80元/kg
    黄瓜2.80元/kg2.00元/kg
    胡萝卜2.00元/kg1.50元/kg
    table {
      border-collapse: collapse;
      width: 100%;
    }
    th, td {
      text-align: center;
      padding: 8px;
    }
    th {
      background-color: #4CAF50;
      color: white;
    }
    tr:nth-child(even) {
      background-color: #f2f2f2;
    }
    td:first-child {
      font-weight: bold;
    }
    
    1. 员工信息表
    姓名性别年龄
    张三男28
    李四女32
    王五男35
    table {
      border-collapse: collapse;
      width: 100%;
    }
    th, td {
      text-align: center;
      padding: 8px;
    }
    th {
      background-color: #4CAF50;
      color: white;
    }
    tr:nth-child(even) {
      background-color: #f2f2f2;
    }
    td:nth-child(2) {
      text-transform: uppercase;
    }
    
  3. User

    请展示一下上述样式表的显示效果

  4. Assistant

    学生成绩表:

    姓名数学成绩英语成绩
    张三9085
    李四7892
    王五8587

    蔬菜价格表:

    蔬菜名称市场价格农村价格
    西红柿3.50元/kg2.80元/kg
    黄瓜2.80元/kg2.00元/kg
    胡萝卜2.00元/kg1.50元/kg

    员工信息表:

    姓名性别年龄
    张三男28
    李四女32
    王五男35
  5. User

    请推荐几个在线样式表的设计网站,可以设计好看的表格

  6. Assistant

    以下是几个在线样式表的设计网站,可以设计好看的表格:

    1. Canva:https://www.canva.com/
    2. Piktochart:https://piktochart.com/
    3. TableStyler:http://tablestyler.com/
    4. CSS Table Generator:https://cssmenumaker.com/table-generator/
    5. DivTable:http://www.divtable.com/table-styler/
    6. DataTables:https://datatables.net/
    7. CSS Table Style Generator:https://www.csshtml.org/table-style-generator.php
    8. Tableizer:https://tableizer.journalistopia.com/
    9. LinkedIn Table Style Generator:https://tablestyle.linkedinlabs.com/
    10. TableDesigner:https://www.tablesgenerator.com/designer

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.