Below are two slightly different versions of the table I created for the first part of the assignment. What I am not sure about - and maybe it doesn't matter - is how to handle the situation where a COLSPAN
or ROWSPAN
makes sense. In the example table in the tutorial, there is a separation within the same row, and the SCOPE
attribute is used to tie it all together. In my example(s) I have also used the SCOPE
attribute, but I am not sure if using ROWSPAN
changes things or not.
This first TABLE
does not use ROWSPAN
, but ends up creating empty table cells to keep everything aligned.
Club | Name | Address | Phone Number | Needs Ride | Permission Slip |
---|---|---|---|---|---|
Pals, Grades 3 and 4 | |||||
Bob | 123 Main | 555-1234 | No | Yes | |
John | 357 3rd Ave | 555-2468 | Yes | Yes | |
Rick | 246 18th St | 555-1357 | Yes | No | |
Pioneers, Grades 5 and 6 | |||||
Mark | 223 Main | 555-1098 | No | Yes | |
Jim | 123 Main | 555-1234 | No | Yes | |
Sam | 281 22nd St | 555-3579 | Yes | No |
This version uses ROWSPAN
s to eliminate the need for empty table cells.
Club | Name | Address | Phone Number | Needs Ride | Permission Slip |
---|---|---|---|---|---|
Pals, Grades 3 and 4 | Bob | 123 Main | 555-1234 | No | Yes |
John | 357 3rd Ave | 555-2468 | Yes | Yes | |
Rick | 246 18th St | 555-1357 | Yes | No | |
Pioneers, Grades 5 and 6 | Mark | 223 Main | 555-1098 | No | Yes |
Jim | 123 Main | 555-1234 | No | Yes | |
Sam | 281 22nd St | 555-3579 | Yes | No |
This is the TABLE
for the University of the Antarctic Schedule of Classes. Here I used the SCOPE
attribute to group COL
s and ROWGROUP
s. I also used ID
s and HEADERS
to tie the Department Code to its appropriate heading. My question here is, for straightforward relationships like the column heading applying to the rest of the column, does it mean the same thing when using SCOPE
as it does to give the TH
s an ID
and then use HEADERS
with the ID
on each subsequent TD
in the column? Is one technique more well understood by current browser/screen reader combinations than another? Or am I completely misunderstanding what each technique does?
Also, I used the ABBR
attribute to expand the Department Codes from "BIO" to "Biology," for example. Is that an appropriate use? I know that the ABBR
tag is used that way. It seems to make sense to me - especially in this case, where codes such as "IS" are likely to be read as "is" rather than "eye ess."
At any rate, here is my version of the table:
Department Code | Class Number | Section | Max Enrollment | Current Enrollment | Room Number | Days | Start Time | End Time | Instructor |
---|---|---|---|---|---|---|---|---|---|
BIO | 100 | 1 | 15 | 13 | 5 | Mon,Wed,Fri | 10:00 | 11:00 | Magde |
100 | 2 | 15 | 7 | 5 | Tue,Thu | 11:00 | 12:30 | Indge | |
205 | 1 | 15 | 9 | 6 | Tue,Thu | 09:00 | 10:30 | Magde | |
315 | 1 | 12 | 3 | 6 | Mon,Wed,Fri | 13:00 | 14:00 | Indge | |
BUS | 150 | 1 | 15 | 15 | 13 | Mon,Wed,Fri | 09:00 | 10:00 | Roberts |
210 | 1 | 10 | 9 | 13 | Mon,Wed,Fri | 08:00 | 09:00 | Rasid | |
320 | 1 | 13 | 4 | 13 | Tue,Thu | 10:00 | 11:20 | Rasid | |
410 | 1 | 7 | 6 | 13 | Tue,Thu | 08:30 | 10:00 | Roberts | |
CHEM | 105 | 1 | 6 | 4 | 4 | Mon,Wed,Fri | 10:00 | 11:00 | Simms |
311 | 1 | 4 | 3 | 4 | Tue,Thu | 08:30 | 10:00 | Simms | |
EXSC | 111 | 1 | 20 | 16 | 18 | Tue,Thu | 08:30 | 10:30 | Park |
111 | 2 | 20 | 14 | 18 | Tue,Thu | 10:30 | 12:30 | Smalls | |
222 | 1 | 15 | 12 | 18 | Mon,Wed,Fri | 09:00 | 10:00 | Smalls | |
333 | 1 | 14 | 10 | 19 | Mon,Wed,Fri | 14:00 | 16:00 | Park | |
IS | 190 | 1 | 15 | 1 | 1 | Mon,Wed,Fri | 09:00 | 10:00 | Kim |
205 | 1 | 12 | 3 | 2 | Mon,Wed,Fri | 09:00 | 10:00 | Chi | |
290 | 1 | 12 | 7 | 1 | Tue,Thu | 09:00 | 10:00 | Kim | |
301 | 1 | 12 | 9 | 1 | Tue,Thu | 14:00 | 15:00 | Chi | |
PSY | 101 | 1 | 8 | 6 | 3 | Mon,Wed,Fri | 09:00 | 10:00 | Helder |
300 | 1 | 6 | 5 | 3 | Tue,Thu | 08:30 | 10:00 | Helder |