Questions
Design a Simple table with First name, Last Name, marks, Roll No. & Course using W3.CSS.
Last Updated : 16 Jul 2025
Jul 2024
Solution:
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>
<table class="w3-table w3-striped w3-bordered">
<tr class="w3-red">
<td>First Name</td>
<td>Last Name</td>
<td>Marks</td>
<td>Roll No.</td>
<td>Course</td>
</tr>
<tr>
<td>Ashish</td>
<td>Kumar</td>
<td>99</td>
<td>R123</td>
<td>CCC</td>
</tr>
<tr>
<td>Shivam </td>
<td>Mishra</td>
<td>49</td>
<td>R526</td>
<td>CCC+</td>
</tr>
<tr>
<td>Sonali </td>
<td>Patel</td>
<td>56</td>
<td>R789</td>
<td>BCC</td>
</tr>
<tr>
<td>Mou</td>
<td>ka ladka</td>
<td>94</td>
<td>R005</td>
<td>O Level</td>
</tr>
</table>
</body>
</html>
OUTPUT:
Meanwhile you can watch this video
Watch Video