Access: [5.4.1.1]: invalid markup used in layout <table> (Priority 2)
Cause:
Avoid using structural markup to apply style to text within data cells in
tables used for layout purposes. Use Cascading Style Sheets (CSS)
to format text, instead.
Example:
 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>aert1.0/5.4.1</title>
</head>
<body>
<table summary="This layout table is using TH for formatting">
<caption>This layout table is using TH for formatting.</caption>
<tr>
<th>Here is some text.</th><th>More text is this.</th>
</tr>
<tr>
<td>Here is some text that is in a column.</td><td>Here is some more text that is also in a column.</td>
</tr>
</table>
</body>
</html>
|
Solution:
References: