@@ -19,38 +19,69 @@ <h2>Tables</h2>
19
19
20
20
< p > Here's a paragraph to show spacing around the table. Aenean lacinia bibendum nulla sed consectetur. Maecenas faucibus mollis interdum..</ p >
21
21
22
- < table >
23
- < thead >
24
- < tr >
25
- < th scope ="col "> ID</ th >
26
- < th scope ="col "> Product</ th >
27
- < th scope ="col "> Category</ th >
28
- < th scope ="col "> Price</ th >
22
+ < table class =" table " >
23
+ < thead class =" table-head " >
24
+ < tr class =" table-row " >
25
+ < th class =" table-heading " scope ="col "> ID</ th >
26
+ < th class =" table-heading " scope ="col "> Product</ th >
27
+ < th class =" table-heading " scope ="col "> Category</ th >
28
+ < th class =" table-heading " scope ="col "> Price</ th >
29
29
</ tr >
30
30
</ thead >
31
- < tbody >
32
- < tr >
33
- < th scope ="row "> 1</ th >
34
- < td > T-Shirt</ td >
35
- < td > Apparel</ td >
36
- < td > $12.99</ td >
31
+ < tbody class =" table-body " >
32
+ < tr class =" table-row " >
33
+ < th class =" table-heading " scope ="row "> 1</ th >
34
+ < td class =" table-cell " > T-Shirt</ td >
35
+ < td class =" table-cell " > Apparel</ td >
36
+ < td class =" table-cell " > $12.99</ td >
37
37
</ tr >
38
- < tr >
39
- < th scope ="row "> 2</ th >
40
- < td > Sweat Shirt</ td >
41
- < td > Apparel</ td >
42
- < td > $24.99</ td >
38
+ < tr class =" table-row " >
39
+ < th class =" table-heading " scope ="row "> 2</ th >
40
+ < td class =" table-cell " > Sweat Shirt</ td >
41
+ < td class =" table-cell " > Apparel</ td >
42
+ < td class =" table-cell " > $24.99</ td >
43
43
</ tr >
44
- < tr >
45
- < th scope ="row "> 3</ th >
46
- < td > Necklace</ td >
47
- < td > Accessories</ td >
48
- < td > $29.99</ td >
44
+ < tr class =" table-row " >
45
+ < th class =" table-heading " scope ="row "> 3</ th >
46
+ < td class =" table-cell " > Necklace</ td >
47
+ < td class =" table-cell " > Accessories</ td >
48
+ < td class =" table-cell " > $29.99</ td >
49
49
</ tr >
50
50
</ tbody >
51
51
</ table >
52
52
53
53
< p > Here's a paragraph to show spacing around the table. Aenean lacinia bibendum nulla sed consectetur. Maecenas faucibus mollis interdum..</ p >
54
54
55
+ < div class ="table ">
56
+ < div class ="table-head ">
57
+ < div class ="table-row ">
58
+ < div class ="table-heading " scope ="col "> ID</ div >
59
+ < div class ="table-heading " scope ="col "> Product</ div >
60
+ < div class ="table-heading " scope ="col "> Category</ div >
61
+ < div class ="table-heading " scope ="col "> Price</ div >
62
+ </ div >
63
+ </ div >
64
+ < div class ="table-body ">
65
+ < div class ="table-row ">
66
+ < div class ="table-heading " scope ="row "> 1</ div >
67
+ < div class ="table-cell "> T-Shirt</ div >
68
+ < div class ="table-cell "> Apparel</ div >
69
+ < div class ="table-cell "> $12.99</ div >
70
+ </ div >
71
+ < div class ="table-row ">
72
+ < div class ="table-heading " scope ="row "> 2</ div >
73
+ < div class ="table-cell "> Sweat Shirt</ div >
74
+ < div class ="table-cell "> Apparel</ div >
75
+ < div class ="table-cell "> $24.99</ div >
76
+ </ div >
77
+ < div class ="table-row ">
78
+ < div class ="table-heading " scope ="row "> 3</ div >
79
+ < div class ="table-cell "> Necklace</ div >
80
+ < div class ="table-cell "> Accessories</ div >
81
+ < div class ="table-cell "> $29.99</ div >
82
+ </ div >
83
+ </ div >
84
+ </ div >
85
+
55
86
</ body >
56
87
</ html >
0 commit comments