HTML Table Column Grouping

# Introduction The HTML `<colgroup>` tag is used to apply various styles to one or more columns in a HTML table. The `<colgroup>` tag eliminates the need for defining styles in every cell of a table. Using the span attribute of this tag, you can apply styles to columns on which you want to apply them. In this lab, you will learn how to create a table with colored columns using the HTML `<colgroup>` tag. > Note: You can practice coding in `index.html` and learn [How to Write HTML in Visual Studio Code](https://code.visualstudio.com/docs/languages/html). Please click on 'Go Live' in the bottom right corner to run the web service on port 8080. Then, you can refresh the **Web 8080** Tab to preview the web page.

|
60 : 00

Click the virtual machine below to start practicing