File tree Expand file tree Collapse file tree 1 file changed +25
-18
lines changed Expand file tree Collapse file tree 1 file changed +25
-18
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="en ">
33< head >
4- < meta charset ="UTF-8 ">
5- < title > Table Layout</ title >
4+ < meta charset ="UTF-8 ">
5+ < title > Table Design</ title >
6+ < style >
7+ table , th , td {
8+ border : 1px solid # 000 ;
9+ border-collapse : collapse;
10+ padding : 8px ;
11+ }
12+ </ style >
613</ head >
714< body >
815
9- < table border =" 1 " cellpadding =" 10 " >
10- < tr >
11- < th > Header 1</ th >
12- < th > Header 2</ th >
13- < th > Header 3</ th >
14- </ tr >
15- < tr >
16- < td > Row 1 Col 1</ td >
17- < td > Row 1 Col 2</ td >
18- < td > Row 1 Col 3</ td >
19- </ tr >
20- < tr >
21- < td > Row 2 Col 1</ td >
22- < td > Row 2 Col 2</ td >
23- < td > Row 2 Col 3</ td >
24- </ tr >
16+ < table >
17+ < tr >
18+ < th > Column 1</ th >
19+ < th > Column 2</ th >
20+ < th > Column 3</ th >
21+ </ tr >
22+ < tr >
23+ < td > Row 1 Data 1</ td >
24+ < td > Row 1 Data 2</ td >
25+ < td > Row 1 Data 3</ td >
26+ </ tr >
27+ < tr >
28+ < td > Row 2 Data 1</ td >
29+ < td > Row 2 Data 2</ td >
30+ < td > Row 2 Data 3</ td >
31+ </ tr >
2532</ table >
2633
2734</ body >
You can’t perform that action at this time.
0 commit comments