HTML5 - Basic Exercises, Practice, Solution
[An editor is available at the bottom of the page to write and execute the scripts.]
90. How to define a header cell in a table?
HTML Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Table Header</title>
</head>
<body>
</body>
</html>
Try it in the following editor or see the solution.
a. How to specify an abbreviated version of the content in a header cell?
b. How to specify the number of columns a header cell should span?
c. How to specify one or more header cells a cell is related to?
d. How to specify the number of rows a header cell should span?
e. How to specify whether a header cell is a header for a column, row, or group of columns or rows?
See the Pen html css common editor by w3resource (@w3resource) on CodePen.
Previous: How to group the footer content in a table?
Next: How to group the header content in a table?
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics