watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvc3vuc2h1bwlu/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "> html--to layout a form using a table
This article describes the basic usage of tables in HTML.Code collated from w3school:http://www.w3school.com.cnCSS file:Tablestyle.cssTable.basetablestyle Thead{color:green}table.basetablestyle Tbody{color:blue;height:50px}table.basetablestyle Tfoot{color:red}HTML: Table Basics
CellPadding is the clearance size of the border and its contents;CellSpacing is the size of the gap between the border and the border;Colspan= "3" to merge three columns into one columnRowspan= "2" to merge two rows into one lineThis article is from the "rookie study Notes" blog, please be sure to keep this source http://javenq.blog.51cto.com/9856112/1657011Use of HTML table tags
Remove the page header
You can also set CSS to make the body height 100% and the DIV height 100%. This method does not need to be removed.
CSS:
Body {Height: 100%}HTML, body {Height: 100%}
If you remove
The table height cannot be 100%. Add
HTMLHypertext Markup Language, the page can contain pictures, links, and even music, programs and other non-text elements. The essence of Web pages is Super Text Markup language, the World Wide Web is based on hypertext.TML marks each part of the Web page to be displayed by a marker symbol, the mark that writes incorrectly does not indicate its error, and does not stop its interpretation execution, the author can only display the effect to analyze the cause of the error and the area of error. Fo
;
‰
thousand percentage points
°
deg;
°
Degree
√
radic;
√
Square root
∞
infin;
∞
Infinitely large
5. Direction class
←
larr;
←
Left Arrow
↑
uarr;
↑
Up ARROW
→
rarr;
→
Right Arrow
↓
darr;
↓
Down ARROW
?
harr;
?
Left and right arrows
;
‰
thousand percentage points
°
deg;
°
Degree
√
radic;
√
Square root
∞
infin;
∞
Infinitely large
5. Direction class
←
larr;
←
Left Arrow
↑
uarr;
↑
Up ARROW
→
rarr;
→
Right Arrow
↓
darr;
↓
Down ARROW
?
harr;
?
Left and right arrows
HTML How to make a column of color to use the attribute colgroup emphasis I am bold!!Here is a small example of source code As follows:HTML How to make a column of the table is a simple way to change color!!
This article mainly introduces the advanced application of the sequence table label Ol,li in HTML,When we design an ordered list in web design, we often add a value manually before each item, or the program adds that value.And if you use an ordered list label ol and Li, it does not need to be so troublesome, do not have to fill in the ordinal, when the single-level list of this feature does not seem obvious
Width width Border Border cellpadding The spacing between the contents and the cell cellspacing align alignment between cellsbgcolor background color Backgrou nd background plot cheat Align horizontal alignment of content valign vertical alignment of content height row height bgcolor background color background background image Align horizontal alignment of cell contents valign the vertical alignment of cell contents width cell height of cellbgcolor background color background background imagec
This article mainly introduces the method of output HTML table of PHP array, need friends can refer to the following nbsp; nbsp; Code as follows: ; nbsp;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.