CSS Properties: How to set property to its default value border?

Go to Exercise page


HTML Code:

<!DOCTYPE html>
<title>How to set property to its default value border</title>
table#mytable {
table, td, th {
border: 1px solid red;
<table id="mytable">
<th>First Name</th>
<th>Last Name </th>

Live Demo:

See the Pen border-collapse-initial-answer by w3resource (@w3resource) on CodePen.

See the solution in the browser

Supported browser

Firefox logo Chrome logo Opera logo Safari logo Internet Explorer logo
Yes Yes Yes Yes Yes

Go to Exercise page

What is the difficulty level of this exercise?