Suppose you have a table and you need to give styles to all the <TD> tags. Using inheritance to do this helps you avoid generating more content to be delivered to the client. Take this code, for example: 
 <table>
<table>
 <td class=Cell></td>
<td class=Cell></td>
 <td class=Cell></td>
<td class=Cell></td>
 <td class=Cell></td>
<td class=Cell></td>
 </table>
</table>
 <table>
<table> <td class=Cell></td>
<td class=Cell></td> <td class=Cell></td>
<td class=Cell></td> <td class=Cell></td>
<td class=Cell></td> </table>
</table>
 Table.Cell TD
Table.Cell TD
 {
{
 
  
 }
}
 <table class=Cell>
<table class=Cell>
 <td ></td>
<td ></td>
 <td ></td>
<td ></td>
 <td ></td>
<td ></td>
 </table>
</table>From Devx:Prasad Haridass
 
                    
                 

 }
} 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号