<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1.0"
>
<
title
>Product Comparison Table</
title
>
<
style
>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.comparison-table {
width: 80%;
margin: 20px auto;
border-collapse: collapse;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.comparison-table th, .comparison-table td {
border: 1px solid #ddd;
padding: 12px;
text-align: center;
}
.comparison-table th {
background-color: #f2f2f2;
}
.product-name {
font-weight: bold;
}
.correct {
color: green;
}
.incorrect {
color: red;
}
@media (max-width: 768px) {
.comparison-table {
width: 100%;
}
}
</
style
>
</
head
>
<
body
>
<
table
class
=
"comparison-table"
>
<
thead
>
<
tr
>
<
th
>Features</
th
>
<
th
>HTML</
th
>
<
th
>CSS</
th
>
</
tr
>
</
thead
>
<
tbody
>
<
tr
>
<
td
class
=
"product-name"
>Styling</
td
>
<
td
class
=
"correct"
>✓</
td
>
<
td
class
=
"incorrect"
>✗</
td
>
</
tr
>
<
tr
>
<
td
class
=
"product-name"
>Structure</
td
>
<
td
class
=
"incorrect"
>✗</
td
>
<
td
class
=
"correct"
>✓</
td
>
</
tr
>
<
tr
>
<
td
class
=
"product-name"
>Web Page</
td
>
<
td
class
=
"correct"
>✓</
td
>
<
td
class
=
"correct"
>✓</
td
>
</
tr
>
<
tr
>
<
td
class
=
"product-name"
>Scripting</
td
>
<
td
class
=
"incorrect"
>✗</
td
>
<
td
class
=
"incorrect"
>✗</
td
>
</
tr
>
</
tbody
>
</
table
>
</
body
>
</
html
>