<!DOCTYPE html>
      table, th, td {
        border: 1px solid black;
        border-collapse: collapse;
      <p>Add the a colgroup with a col element that spans over two columns to define a style for the two columns:</p>
      <table style="width: 100%;">
        <col span="2" style="background-color: #D6EEEE">

      Html language logo
      HTML Table Colgroup

      HTML Table Colgroup


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.