HTML Tags Daquan reference manual
1. File structure
? file type <HTML></HTML> (placed at the beginning and end of the document)
? file Topics <TITLE></TITLE> (Must be placed in "header" block)
Header <HEAD></HEAD> (descriptive information, such as "subject")
? Style <BODY></BODY> (document body) 2. Structural definition (display style controlled by browser)
? title <H?></H?> (from 1 to 6, six layers)
? The alignment of the title ? Chunks <DIV></DIV>
? Block <div align=left/right/center/ Justify></div>
? Citation block <BLOCKQUOTE></BLOCKQUOTE> (usually indented)
? Emphasis <EM></EM> (usually in italics)
? Special emphasis on <STRONG></STRONG> (usually shown in bold)
? Citation <CITE></CITE> (usually in italics)
Code < Code></code> (show original code)
? Sample <SAMP></SAMP>
? keyboard input <KBD></KBD>
? Variables <VAR> </VAR>
? definition <DFN></DFN> (not available in some browsers)
? Address <ADDRESS></ADDRESS>
? Dae <big>& Lt;/big>
? Fine print <SMALL></SMALL> 3. Appearance-related labels (how the authors customize their presentation)
? Bold <B></B>
? Italic <i></i >
? Bottom line <U></U> (some browsers are not available)
? Strikethrough <S></S> (some browsers are not available)
? Subscript <SUB></SUB> br>? Superscript <SUP></SUP>
Typewriter body <TT></TT> (with single space font)
? Scheduled formats <PRE></PRE> (preserves the size of the file's hollow lattice) br>? The width of the predetermined format <pre width=?></pre> (calculated in characters)
? Center <CENTER></CENTER> (both text and pictures)
? Sparkle <blink ></BLINK> (the most derided label ever)
? Font size <font size=?></font> (from 1 to 7)
? Change the font size <font size=+/-?>& Lt;/font>
? Basic font Size <basefont size=?> (from 1 to 7; default is 3)
? Font color <font color= "#$$$$$$" ></FONT> 4. Links and Image
? link <a href= "URL" ></A>
? link to anchor <a href= "url#***" ></A> (if the anchor is in another file)
? <a href= "# "></A> (if the anchor's current profile)
? link to destination viewport <a href=" URL "target=" * * * "></A>
? Set anchor <a name= "* * *" ></A>
? Image
? image alignment
? image alignment Align=left/right/texttop/absmiddle/baseline/absbottom
>
? Replace text (if the browser cannot display the image then
Show this text)
? Click the image (requires CGI program)
? Dot Figure
? map <map Name= "* * *" ></MAP> (description map)
? Paragraph <area shape= "RECT" COO rds= ",,," href= "url"/nohref>
? size (in pixels)
? Image edge (in pixels)
? Image Edge space (
units pixels)
? Low-resolution graphics
? user pull <meta http-equiv= "Refresh" CO Ntent= "?; Url=url,
(Automatic Update with end of use)
? Inline object <embed src= "url" > (Insert object into page)
? Inline object size <embed src= "url" width= "?" Height= "?" > 5. Separating
? Paragraph <P> (usually two return)
? Paragraph <P></P> (newly defined as a container type label)
? text alignment <p Align=left/center/ri Ght></p>
? Wrap <BR> (a return)
? text alignment <br clear=left/right/all> (when combined with graphics)
? Horizontal <HR>
? horizontal line Alignment ? horizontal line thickness ? line width ? horizontal line width ratio ? Solid ? Non-wrapped <nobr></nobr& Gt (non-wrapping)
? Line-Break <WBR> (where required, can be used for breaking lines) 6. List
? unordered list <UL><LI></UL> (<LI> put in front of each item)
? publication list <ul type=disc/circle/square> (define all list items)
? <li type=disc/circle/square> (Define this and subsequent list items)
? sequence list <ol ><LI></OL> (<LI> put in front of each item)
? <ol type=a/a/i/i/1> (define all list items)
? <li type=a/a/i/i/ 1> (Define this and subsequent list items)
? Start number <ol value=?> (define all enumerations)
? <li value=?> (Define this and subsequent list items)
? definition list <DL><DT><DD></DL> (<DT> project, <DD> definition)
? form List <MENU> <LI></MENU> (<LI> put in front of each item)
? directory list <DIR><LI></DIR> (<LI> put in front of each item) 7. Background and color
? background <body background= "URL" >
? background color <body bgcolor= "#$$$$$$" > (red, Green, blue,
RRGGBB)
? text color <bod Y text= "#$$$$$$" >
? link color <body link= "#$$$$$$" >
? Point-over links <body vlink= "#$$$$$$" >
? Links in use <body alink= "#$$$$$$" > 8. Special word
? All rights reserved? ©
? registered trademarks ®
? Trademark symbol ™
? Whitespace 9. Forms (usually with CGI programs)
? Define form <form action= "URL" method=get/post></form>
? Upload Document <form enctype= " Multipart/form-data "></FORM>
? Form control type <input
type=" text/password/checkbox/radio/image/hidden/ SUB
Mit/reset ">
? The form controls have values <input value= "* * *" >
? <input checked> selected (for checkboxes and radio boxes)
? form control width <input size=?> (in number of characters)
? Maximum number of characters <input maxlength=?> (in characters)
? Drop-down menu <SELECT></SELECT>
? Drop-down menu name <select name= "* * *" ></SELECT>
? Number of menu items <select size=?></select>
? Multi-Select Menu < ; SELECT multiple>
? options <OPTION>
? default options <option selected>
? text input area <textarea rows=? cols=?></textarea>
? input area name <textarea name= "* * *" ></textarea>
? Input area Line Wrapping method <textarea
wrap=off/virtual/physical></textarea> 10. Form
? definition table <TABLE></TABLE>
? Table Border <table Border=?></table> (You can set the value, 0 is borderless)
? Cell spacing <table cellspacing=?>
? Cell up and down spacing <table cellpadding =?>
? Table width <table width=?> (in pixels)
? Table width ratio <table width=%> (page width is 100%)
? Table row <TR>< /tr>
? table row content alignment <tr Align=left/right/center
valign=top/middle/bottom>
? Cell <TD></TD> (Must be used with TR)
? cell contents Align <td align=left/right/center
valign=top/middle/bottom>
? Do not wrap <td nowrap>
? Cell background color <TD bgcolor=#$$$$$$>
? Cells occupy several columns <td colspan=?>
? Cells in rows <td rowspan=?>
? Cell width <td Width=?> (in pixels)
? Cell width ratio <td width=%> (page width is 100%)
? title <TH></TH> (like <TD>, However, it will be bold)
? title Grid <th Align=left/right/center
valign=top/middle/bottom>
? title not wrapped <th nowrap>
How many columns <th colspan=?>
? title grid takes a few lines <th rowspan=?>
? title grid width <th width=?> (in pixels)
? title Grid width Degree ratio <th width=%> (page width is 100%)
? table header <CAPTION></CAPTION>
? table Header Location <caption Align=top/bottom > (above/below the table) 11. FRAME (define and control a specific area on the screen)
? box format Total definition <FRAMESET></FRAMESET> (replace <BODY>)
? Frame line Length assignment <frameset rows=,,, ></ frameset> (pixels or%)
? Frame line Length Assignment <frameset rows=*></frameset> (* = relatively large
small)
? Viewport Bar Width Assignment <frameset cols=,,, ></FRAMESET> (pixels or%)
? frame Bar Width Assignment <frameset cols=*></frameset> (* = relative size)
? Define individual frames and Lt Frame> (define individual frames)
? Individual viewport contents <frame src= "URL" >
? Individual frame name <frame name= "* * *"/_blank/_self/_parent/_top>
? Edge width <frame marginwidth=?> ("left" and "right" boundary)
? Edge height <frame marginheight=?> ("Zenith" and "Floor" boundary)
? ScrollBar <fra ME scrolling= "Yes/no/auto" >
? Cannot change size <frame noresize>
? content when ignoring a box <NOFRAMES></NOFRAMES> (If the browser does not provide the content displayed when the viewport
function) 12. Miscellaneous
? Description (Browser does not display)
? Document type declaration <! DOCTYPE HTML PUBLIC "-//ietf//dtd HTML
2.0//en" >
? Document type declaration <! DOCTYPE HTML PUBLIC "-//w3o//dtd W3 HTML
3.0//en" >
? Searchable <ISINDEX> (indicates searchable index entries)
? Hint <isindex prompt= "* * *" > (prompt text required for input)
? Send search conditions <a href= "url?***" ></a> (where the question mark is not a number, but
"Question mark")
? URL of basic document <base href= "url" > (Must be placed in "header" block)
? Basic window name <base target= "* * *" > (must be placed in "header" block)
? Dependency <link rev= "* * *" rel= "* * *" href= "URL" > (Must be placed in "Text header"
in chunks)
? Background information <META> (must be placed in "header" block)
HTML Tag Daquan Reference manual