<td>

Sunday, 11.12.2016, 05:08
Welcome Guest
 
All Html Tags
<html>
<head>
<body>
<div>
<span>
<DOCTYPE>
<title>
<link>
<meta>
<style>
<p>
<h1-h6>
<strong>
<em>
<abbr>
<acronym>
<address>
<bdo>
<blockquote>
<cite>
<q>
<code>
<ins>
<del>
<dfn>
<kbd>
<pre>
<samp>
<var>
<br>
<img>
<area>
<map>
<object>
<param>
<form>
<input>
<textarea>
<select>
<option>
<optgroup>
<button>
<label>
<fieldset>
<legend>
<table>
<tr>
<td>
<th>
<tbody>
<thead>
<tfoot>
<col>
<colgroup>
<caption>
<ul>
<ol>
<li>
<dl>
<dt>
<dd>
<script>
<noscript>

Articles for Webmaster
:: Proffesional Website Builders
:: Div Tag in Html Examples
:: Notepad As a Free Html Editor
Authorization

td Tag in Html

This tag defines a standard cell in an HTML table.

An HTML table has two kinds of cells:

Header cells - contains header information (created with the th tag)
Standard cells - contains data (created with the td tag)
The text in a th element is bold and centered. The text in a td element is regular and left-aligned.

td Tag Attributes

colspan - can be used to specify across how many columns the cell should spread. The default value is 1.
rowspan - can be used to specify across how many rows the cell should spread. The default value is 1.
abbr - can be used to specify an abbreviated version of the content of the cell.
axis - can be used to specify a category that forms a conceptual axis in n-dimensional space for hierarchical structuring. The value can be a single name or a comma-separated list of names.
headers - can be used to explicitly specify which header cells are associated to the cell. The value is a single or comma-separated list of table cell id values.
scope - can be used to explicitly specify that the cell contains header information for the rest of the row (value row), column (value col), row group (value rowgroup) or column group (value colgroup) that contains it.
align - can be used to horizontally align the content of the cell. The value can be left, center, right, justify or char.
valign - can be used to vertically align the content of the cell. The value can be top, middle, bottom or baseline.
char - can be used to specify a character with which cells will align, such as a decimal point. It is not supported by any major browser.
charoff - can be used to specify the number of pixels the alignment should be offset from the char character.

Browser Support

    

Code Example

<table>
<tr>
<th>Question</th>
<th>Answer</th>
<th>Correct?</th>
</tr>
<tr>
<td>What is the capital of Burundi?</td>
<td>Bujumburra</td>
<td>Yes</td>
</tr>
<tr>
<td>What is the capital of France?</td>
<td>F</td>
<td>Erm... sort of</td>
</tr>
</table>
Search

Advertisement
Friends
superbwebsitebuilders.com
HtmlCodeExamples.Com © 2016