HTML Base Tag
I learned some basic HTML tags and basic properties yesterday:
HTML is a Hypertext Markup language in which PHP is the best language in the world (increasing the power of learning).
The HTML document contains three Parts:
<title>--page Title
</title>
<body>
What the page displays
</body>
<!—— the contents of the Note--comments
Properties of the Body:
Background page background image
BgColor page background color
Text text color
TopMargin on page margin
LeftMargin left page margin
RightMargin Right page margin
BottomMargin Next page margin
General Label:
Format Control Tags:
<font color= "" face= "" size= "" ></font> control fonts; color, font colors; face, font; size, Font size.
<b></b> Font Bold
<i></i> Tilt
<u></u> Underline
<strong></strong> font Bold (emphasis, tone Reinforcement)
<em></em> font Tilt (emphasis, tone Enhancement)
<center></center> Center
<br> or </br> equivalent to carriage return, line break
Represents a space
Content Container Tags:
<p></p> paragraph labels (blank lines between Paragraphs)
<div></div> Layer Labels (one row by Default)
<span></span> Layer Labels (how much space is occupied by Default)
<ol type= "1/a/a ..." >--has sequence list, The format of double quotation marks, can change the form of serial number
<li> content <li>
<li> content <li>
<li> content <li>
</ol>--above "ol" to "ul" is unordered list
Relative path: relative to the location of this document;
Absolute Path: start reading directly from which Disk.
Common Tags:
Hyperlink label
<a href= "address of hyperlink" target= "blank/self" > hyperlink text or Picture </a>
Blank is opened from a new web page;
The first step: do the anchor point Label. <a name= "" ></a>
Step two: do anchor links. <a href= "#目标连接的name的值" ></a>
Picture label
--height and width setting one can be, the display picture will be scaled proportionally.
Table Tags:
Form
<table width= "width" border= "border" align= "alignment" background/bgcolor= "background picture/background color" >
Yes:
<tr align= "horizontal alignment" valign= "vertical alignment" height= "row height" background/bgcolor= "background picture/background color" >
Cell
<TD align= "horizontal alignment" valign= "vertical alignment" width= cell width height= "cell height" backgroung/bgcolor= "background picture/background color" >
</td>
</tr>
</table>
Align:left Center Right
Valign:top Middle Bottom
Cell Merging:
colspan= "n" Merges the same row of cells (the corresponding columns are subtracted from the following Code)
rowspan= "n" merges the same row and column cells (the corresponding columns are subtracted from the following code).
This is the first day of the content, this part is very simple, try it.
Getting started with HTML base tags