Difference between revisions of "Td"

From Online Manual

Jump to: navigation, search
(remove <nowiki> from example; categorize basic as per http://docs.simplemachines.org/index.php?topic=57)
Line 1: Line 1:
<tr><td><center><span style="font-size: 12pt;" class="bbc_size"><tt>'''td'''</tt></span></center></td><td><center>'''Table cell'''</center></td><td><center><img src="http://docs.simplemachines.org/Themes/default/images/bbc/td.gif" alt="" class="bbc_img" /></center></td></tr>
+
{{Wordy bbc
 
+
|tag=td
<tr><td>[table]
+
|button=td.gif
[tr][td]text or[/td][td]more[/td][/tr]
+
|example=&#91;table&#93;<br>&#91;tr&#93;&#91;td&#93;text or&#91;/td&#93;&#91;td&#93;more&#91;/td&#93;&#91;/tr&#93;<br>&#91;tr&#93;&#91;td&#93;BB&#91;/td&#93;&#91;td&#93;Code&#91;/td&#93;&#91;/tr&#93;<br>
[tr][td]BB[/td][td]Code[/td][/tr]
+
&#91;/table&#93;
[/table]</td><td>The <tt>td</tt> tag produces table cells, sometimes called table columns. They produce standard html &lt;td&gt; elements, and are displayed the same. This is a block level tag, and can contain any other tag, but must be placed only in <tt>tr</tt> tags.</td><td><table class="bbc_table">
+
|description=The <tt>td</tt> tag produces table cells, sometimes called table columns. They produce standard html &lt;td&gt; elements, and are displayed the same. This is a block level tag, and can contain any other tag, but must be placed only in <tt>tr</tt> tags.
 +
|result=<table class="bbc_table">
  
 
<tr><td>text or</td><td>more</td></tr>
 
<tr><td>text or</td><td>more</td></tr>
  
<tr><td>BB</td><td>Code</td></tr></table></td></tr>
+
<tr><td>BB</td><td>Code</td></tr></table>
 +
}}
  
 
[[Category:Bulletin_Board_Code]]
 
[[Category:Bulletin_Board_Code]]
{{Cleanup html}}
 
 
[[Category:Basic Bulletin Board Code]]
 
[[Category:Basic Bulletin Board Code]]

Revision as of 07:05, 18 February 2011

button: Td.gif

description: The td tag produces table cells, sometimes called table columns. They produce standard html <td> elements, and are displayed the same. This is a block level tag, and can contain any other tag, but must be placed only in tr tags.

example: [table]
[tr][td]text or[/td][td]more[/td][/tr]
[tr][td]BB[/td][td]Code[/td][/tr]
[/table]

result:

text ormore
BBCode