Answers for "table border css"

CSS
11

table border css

table, th, td {
  border: 1px solid black;
}
Posted by: Guest on April-14-2020
9

html create a table

<html>
 <head>
   <title>Working with HTML Tables</title>
 </head>
 <body>
   <table>				<!-- create an table object -->
     <tr>				<!-- "tr" represents a row -->
       <th>Name</th>	<!-- use "th" to indicate header row -->
       <th>Date of Birth</th>
       <th>Weight</th>
     </tr> 
     <tr>				<!-- once again use tr for another row -->
       <td>Mary</td>	<!-- use "td" henceforth for normal rows -->
       <td>12/13/1994</td>
       <td>130</td>
     </tr>    
   </table>
 </body>
</html>
Posted by: Guest on March-10-2020
0

table html border

<table border>
    <thead>
        <tr>
            <td>To</td>
            <td>date</td>
            <td>message</td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Join</td>
            <td>24/02/2021 13:00 PM</td>
            <td>Thank you for share your pen with me</td>
        </tr>
      	<tr>
            <td>Harry</td>
            <td>24/02/2021 13:00 PM</td>
            <td>Thank you for share your magic wand with me</td>
        </tr>
    </tbody>
</table>
Posted by: Guest on August-14-2021
5

html table border-style

<head><style>
p.dotted 	{border-style: dotted;}
p.dashed 	{border-style: dashed;}
p.solid 	{border-style: solid;}
p.double 	{border-style: double;}
p.groove 	{border-style: groove;}
p.ridge 	{border-style: ridge;}
p.inset 	{border-style: inset;}
p.outset 	{border-style: outset;}
p.none 		{border-style: none;}
p.hidden 	{border-style: hidden;}
p.mix 		{border-style: dotted dashed solid double;}
</style></head>
<p class="dotted">A dotted border.</p>
Posted by: Guest on September-13-2021

Browse Popular Code Answers by Language