Page 81 - 2611_SmartGPT Pro V(5.0) C-7
P. 81

border:2px solid black;

                 }
                 </STYLE>

                 </HEAD>

                 <BODY>
                 <TABLE>
                 <CAPTION>STUDENT'S DETAILS</CAPTION>

                 <TR>

                 <TH>ADMISSION</TH>
                 <TH>NAME</TH>

                 <TH>TOTAL MARKS</TH>
                 </TR>

                 <TR>
                 <TD>2016/0256</TD>

                 <TD>Aadya Kaushal </TD>

                 <TD>589</TD>
                 </TR>

                 <TR>

                 <TD>2017/0865</TD>

                 <TD>Shweta Kaushal </TD>
                 <TD>545</TD>

                 </TR>

                 </TABLE>

                 </BODY>
                 </HTML>

                 BORDER-COLLAPSE PROPERTY

                 The border-collapse property in the <style> tag is used to create a single border or separated for
                 the table cells.



                             Property                 Value                        Description



                                              separate                 Applies separate border for each cell
                       border-collapse
                                              collapse                 Applies single border for each cell




                                                                                          Lists and Tables in HTML5  79
   76   77   78   79   80   81   82   83   84   85   86