How to use CSS for Table in HTML

How to use CSS for Table in HTML

In this article, you will learn How to use CSS for TableĀ in HTML. Example:- table.html <html> <head> <title>Table</title> <link rel=”stylesheet” href=”style.css”/> </head> <body> <table> <tr> <th>Roll No.</th><th>Name</th><th>Class</th><th>Gender</th><th>City</th> </tr> <tr> <td>124</td><td>Amandeep