I only want to make an ordinary man HTML Hypertext Marked Language) it is a kind of used to make simple marked language ( ) , document HTTP( Hypertext Transfer Protocol)stipulated(provide) the browser in running an HTML ) document following rules and operation. Create an
HTML document, need only two tools, one is HTML editor, a WEB browser An HTML document consists of a series of elements and tag composed For example:
Welcome to my homepage
This is my first time to be home page
Set different connection color
Test body tag
The default connection color
Are you click connection color
Visited after connection of color
xml:namespace prefix = a href="#" onClick="javascript />return
Attributes are background, bgcolor, text and so on
Horizontal tags Attribute Size Width Align Color Noshade Left Center Right Parameters Function Set level disjunctive thickness Set level disjunctive width Set level disjunctive alignment Set level disjunctive color Cancel level disjunctive 3D shadows Unit Pixel Pixel% Default Value 2 100% Center Black
Website set up the title text Attributes are align Label is divided into six
First-level heading, the largest and most coarse title
Last level of title, minimum most fine title Control characters font, size, and color
Attributes Face Size Color
Use function Set text using fonts Set text size Set the text color
Default Value Song typeface 3 Black
Physical types: Bold tag Italic tag _ tags Hyperlinks name Explanation: Said a link start Said links end Set target attributes: Attribute value _parent _blank _self _top description In the higher level window open, Use commonly points frame frame page will often use In the new window open In the same frames or window open In the browser window open in the whole, Ignore any framework
Link can divide the following two kinds: Absolute path: sina Relative path: news/index.html Relative path name Href=”top.html” Href=”web/top.html” Href=”../top.html” Href=”../../top.html” meaning Local current path of files The current web directory of files Higher level subdirectories of files The secondary subdirectories of files
Alt:When the mouse moves to picture position, text to appear Form is through
,
,
|
,
the tag Tag
| |
| Description Used to define a form beginning and end Definition cell, Form in bold text will display, must be placed in
Define line labels Define unit case tags, mu
st be placed in
Set form attributes:
Attributes Width Height Align Background Bgcolor Border Bordercolor Bordercolorlight Bordercolordark Cellspacing Cellpadding
Description The width of the form The height of the form The location of level Form the background picture Form the background color Form the frame of width(In pixels) Form the frame of color Form the frame of bright part of color Form the frame of dim part of color The interval between the cell The cell contents and the cell boundaries between the blank space
|
line tag attributes: Attributes Align Valign Bgcolor Bordercolor Bordercolorlight Bordercolordark
cell’s attributes Attributes Width/height Colspan Rowspan Align Valign Bgcolor Bordercolor Bordercolorlight Bordercolordark Background Description Absolute value/relative value The cell to right through the column number Cell down through the column number Within the cell contents put the position(left, center, right) Within the cell contents put the position(top, middle, bottom) Cell's impression The cell's border color The cell’s bright border color The cell’s dim border color The cell’s background picture level vertical Description Line content level alignment Line content vertical alignment the background color of the line content Line border color Line bright border color Line dim border color Form: |