Switch to full style
HTML code examples
Post a reply

usage of ch attribute

Sun Feb 26, 2012 9:56 pm

In this example we show the usage of ch attribute with table Cells , ch attribute is used to define the alignment character in the coming text, But it is not supported in most of browsers.

Code:
<HTML>
<
head>
<
Title>Example For ch</Title>
<
style type='text/css'>
table

   
border-collapseseparate;
    
border:1px solid blue;
}
td {
  
width:150px;
  
margin:3px;
    
border2px solid #CC3311;
   
}

 
</
style>
</
head>

<
BODY>
<
table border="1">
<
tr >
<
td ch="$">TextTextText $  TextTextText TextTextText $
</
td>
</
tr>
</
table>
</
BODY>
</
HTML>  

 




Post a reply
  Related Posts  to : usage of ch attribute
 usage of rev attribute     -  
 Usage of the before CSS attribute     -  
 Usage of the after CSS attribute     -  
 Usage of contenteditable attribute     -  
 usage of <br> tag clear attribute     -  
 vspace attribute usage     -  
 row-span attribute usage     -  
 colspan attribute usage     -  
 usage of id attribute for link jumps     -  
 SWAP images using JQuery just by using the src attribute img     -  

Topic Tags

HTML Table