Adding id and headers attributes


show more Adding id and headers attributes provides you with in-depth training on Web. Taught by Zoe Gillenwater as part of the Web Accessibility Principles show less
please wait ...

Adding id and headers attributes

>> In the last movie we began marking up a complex table with better HTML to describe what each data cell was headed by. But since each of the data cells in the table are headed by three different cells, we really need to use the ID and headers attributes to further enhances its accessibility. If you're following along with the exercise files, open the page government.html in Dreamweaver. That's located in the 07_06 folder of the chapter seven exercise files. Click on the code button in the document tool bar.

Scroll down in code view until you get to the table that we're currently working on. It starts on line 86. Place your cursor inside your first TH tag with the text fiscal year inside of it. You can place your cursor immediately before the scope attribute. What we're going to do is give each table header cell an ID then in each of the data cells, we'll specify what ID's head that cell. So with your cursor in the first TH cell, type ID="year". You can giv...

Adding id and headers attributes
Video duration: 5m 36s 6h 9m Appropriate for all

Viewers:

Adding id and headers attributes provides you with in-depth training on Web. Taught by Zoe Gillenwater as part of the Web Accessibility Principles

Subject:
Web
Author:
please wait ...