HTML Help: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
See http://www.w3schools.com/tags/tag_form.asp
See http://www.w3schools.com/tags/tag_form.asp


* <tr> tag defines a row in an HTML table; <tr> element contains one or more <th> or <td> elements
<tr> tag defines a row in an HTML table; <tr> element contains one or more <th> or <td> elements


* <th> tag defines a header cell in an HTML table, contains header information, text are bold and centered by default.
<th> tag defines a header cell in an HTML table, contains header information, text are bold and centered by default.


* <td> tag defines a standard cell in an HTML table, contains data, text are regular and left-aligned by default.
<td> tag defines a standard cell in an HTML table, contains data, text are regular and left-aligned by default.


<td class=''classname''> - standard attribute, the ''classname'' is mostly used to point to a class in a style sheet; however, it can also be used by a JavaScript (via the HTML DOM) to make changes to HTML elements with a specified class.
<td class=''classname''> - standard attribute, the ''classname'' is mostly used to point to a class in a style sheet; however, it can also be used by a JavaScript (via the HTML DOM) to make changes to HTML elements with a specified class.


<td colspan="N"> - N is the number of columns a cell should span
<td colspan="N"> - N is the number of columns a cell should span


<td align="xxx"> - aligns the content in a cell; "xxx" can be ''left'', ''right'', ''center'', ''justify'', ''char''
<td align="xxx"> - aligns the content in a cell; "xxx" can be ''left'', ''right'', ''center'', ''justify'', ''char''


<td valign="xxx"> - vertical aligns the content in a cell; "xxx" can be ''top'', ''middle'', ''bottom'', ''baseline''
<td valign="xxx"> - vertical aligns the content in a cell; "xxx" can be ''top'', ''middle'', ''bottom'', ''baseline''


<table> tag defines an HTML table; an HTML table consists of the <table> element and one or more <tr>, <th>, and <td> elements; the <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell.
<table> tag defines an HTML table; an HTML table consists of the <table> element and one or more <tr>, <th>, and <td> elements; the <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell.





Revision as of 10:49, 10 August 2012

HTML

See http://www.w3schools.com/tags/tag_form.asp

tag defines a row in an HTML table; element contains one or more or elements tag defines a header cell in an HTML table, contains header information, text are bold and centered by default. tag defines a standard cell in an HTML table, contains data, text are regular and left-aligned by default. - standard attribute, the classname is mostly used to point to a class in a style sheet; however, it can also be used by a JavaScript (via the HTML DOM) to make changes to HTML elements with a specified class. - N is the number of columns a cell should span - aligns the content in a cell; "xxx" can be left, right, center, justify, char - vertical aligns the content in a cell; "xxx" can be top, middle, bottom, baseline

tag defines an HTML table; an HTML table consists of the
element and one or more , element defines a table row, the
, and elements; the
element defines a table header, and the element defines a table cell.



Smarty