Forum Moderators: open

Message Too Old, No Replies

Summary attribute

How do I put it in?

         

Adam5000

4:33 pm on Nov 5, 2006 (gmt 0)

10+ Year Member



I've created a page with several tables in it and an example is below.

<table>
<tr>
<td>
<p>This is row 1 column 1</p>
</td>
<td>
<p>This is row 1 column 2</p>
</td>
</tr>

<tr>
<td>
<p>This is row 2 cloumn 1</p>
</td>
<td>
<p>This is row 2 cloumn 2</p>
</td>
</tr>
</table

And I get a message that the table lacks a summary attribute. What's a summary attribute and how do I put it in?

Please support the page writingly challenged.

tedster

4:40 pm on Nov 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The best place to turn for technical information is the standards body for HTML, the W3C.

Each table may have an associated caption (see the CAPTION element) that provides a
short description of the table's purpose. A longer description may also be provided (via the
summary attribute) for the benefit of people using speech or Braille-based user agents.

[w3.org...]

rocknbil

7:31 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<table summary="this is a layout table and has no significant data information">

The summary attribute is a bit of a paradox, last time I used it it was required for accessibility guidelines but kicked validation errors.