Text Indent : td text « Tags « HTML / CSS






Text Indent

   
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
<style type="text/css" media="Screen">
* .myStyle {
  text-indent: 60px;
}
</style>
</head>
<body>
<table>
   <tr>
      <td class="myStyle"><code>text-indent</code> 
        indents the first line of a terminal block element

      </td>
   </tr>
</table> 


</body>
</html>

   
    
  








Related examples in the same category

1.'abbr' sets the abbreviated text for the cell and replace the cell contents
2.'ch' is a character that specifies the alignment of subsequent text
3.td text-align: center; and border
4.td text-align: center;
5.td text-align: left;
6.td text-align: right;
7.td text-align: justify;
8.td text-transform: lowercase;
9.td border: thin solid black;text-align: center;font-weight: bold;