Parsing HTML language (II.) HTML markup overview

Source: Internet
Author: User
Tags add format define definition closing tag insert window
HTML markup HTML tag list

Mark Type Translation or meaning Role Note
File tags
<HTML> File declaration Let the browser know that this is an HTML file
<HEAD> Beginning Provide overall file information
<TITLE> Title Define the file title, which will be displayed at the top of the browse
<BODY> This paper Design file format and Nevin location
Typesetting mark
<!--annotation--> 0 Description Mark Add a description to the file but not be displayed
<P> 0 Paragraph mark Leave a blank line between a word, a picture, a table, etc
<BR> 0 Line Wrap Marker Make words, pictures, tables, etc. appear on the next line
<HR> 0 Horizon Insert a horizontal line
<CENTER> Center Make the word, picture, form, etc appear in the middle Against
<PRE> Preset format To make a file appear in the order of the original code
<DIV> Partition mark Set the position of words, pictures, forms, etc.
<NOBR> Do not fold lines Make the text not too long to bypass
<WBR> Suggested Fold Line Preset fold line position
Font marks
<STRONG> Aggravating tone Produces font bold bold effect
<B> Bold tag Create font Bold effect
<EM> Accent Mark Font appears italic effect
<I> Italic mark Font appears italic effect
<TT> Typing fonts Courier font, same letter width
<U> plus the bottom line. plus the bottom line. Against
<H1> First-level title tag To widen, and to be inversely proportional to the series.
<H2> Second-level title tag Change the font to bold and widen
<H3> Level Three title Tag Change the font to bold and widen
<H4> Level four title Tag Change the font to bold and widen
<H5> Level five title Tag Change the font to bold and widen
<H6> Level six title Tag Change the font to bold and widen
<FONT> Glyph Mark Set font style, size, color Against
<BASEFONT> 0 Datum glyph Mark Set all glyphs, sizes, colors Against
<BIG> Font enlargement Make the font slightly larger
<SMALL> Font indentation Make the font slightly thinner
<STRIKE> Draw line Delete Add a strikethrough to a font Against
<CODE> Code Font slightly widened as <TT>
<KBD> Keyboard word Font slightly widened, single blank
<SAMP> Example Font slightly widened as <TT>
<VAR> Variables Italic effect
<CITE> Biography quote Italic effect
<BLOCKQUOTE> Quote Text block Indented font
<DFN> Definition of the stated language Italic effect
<ADDRESS> Address tag Italic effect
<SUB> Subscript Word Subscript Word
<SUP> Superscript word Index (square, cubic, etc.)
Manifest markup
<OL> Order List List items will be in numbers, alphabetical order
<UL> Unordered list List items are arranged in dots
<LI> 0 List items Each tag identifies a list item
<MENU> Menu List List items are arranged in dots, such as <UL> Against
<DIR> Catalog Listing List items are arranged in dots, such as <UL> Against
<DL> Definition Checklist The list appears in two tiers
<DT> 0 Define Entry The title that marks the definition of the item
<DD> 0 Define Content Mark Definition Content
Table tags
<TABLE> Table tags Set the parameters of the table
<CAPTION> Table title Make a column to fill in the table title
<TR> Table columns Set columns for this table
<TD> Table column Set the column of the table
<TH> Form headers Equal to <td>, but the font inside will be thicker
Form tags
<FORM> Form tags Determine the mode of operation of a single form
<TEXTAREA> Text block Provide a text box to enter more text
<INPUT> 0 Input tags Determine input form
<SELECT> Select tag Create pop-up scrolling list
<OPTION> 0 Options Each tag indicates an option
Graphical indicators
0 Graphical indicators Insert graphics and set graphic properties
Link tag
<A> Link tag Join link
<BASE> 0 Datum mark Can turn relative URLs to absolute and specify the link target
Frame marker
<FRAMESET> Frame setting Set frame
<FRAME> 0 box window setting Set frame window
<IFRAME> 0 Inside page Frame Inserting frames in the middle of a Web page Ie
<NOFRAMES> No support framework Set the prompts when browsers do not support frames
Image map
<MAP> Image map Name Set Image map name
<AREA> 0 Link area Set up each link area
Multimedia
<BGSOUND> 0 Background sound Play sound or music in the background Ie
<EMBED> 0 Multimedia Add sound, music, or video
Other tags
<MARQUEE> Walking around writing Make text move around Ie
<BLINK> Flashing text Flashing text NC
<ISINDEX> 0 In-page search device You can enter a keyword to find the page Against
<META> 0 Start definition Let the browser know that this is an HTML file
<LINK> 0 Relationship definition Define the relationship between the file and other URLs
StyleSheet
<STYLE> Style sheet Control page Layout
<span> Custom Mark Use independently or with style sheets

Note:

Indicates that the tag is a containment mark, that is, you need to turn off markup such as </>.
0 indicates that the tag is an empty tag, that is, no closing tag is required.
IE indicates that the tag applies only to Internet Explorer.
NC indicates that the tag applies only to Netscape Communicator.
The objection indicates that the tag is not supported by the consortium, which is typically an IE or NC customization, and has the support of the public, except that there are other features or better choices in the HTML standard.
Discarding indicates that the tag has been deprecated by the web and is obsolete, but HTML is backward-compatible and does not have to worry about new browsers not supporting old tags.
New indicates that the tag is new in HTML 4.0.







Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.