HTML 4.01/XHTML 1.0 reference

Source: Internet
Author: User
Ordered by function
    • Nn: Indicates the earliest version of Netscape that supports the tag
    • IE: Indicates the earliest version of Internet Explorer that supports the tag
    • DTD: Indicates in which XHTML 1.0 DTD the tag is allowed. S = strict, t = transitional, and f = frameset
Start tag Purpose Nn IE DTD
         
Basic tags        
<! Doctype> Defines the Document Type     STF
<HTML> Defines an HTML document 3.0 3.0 STF
<Body> Defines the body Element 3.0 3.0 STF
<H1> to <H6> Defines header 1 to header 6 3.0 3.0 STF
<P> Defines a paragraph 3.0 3.0 STF
<Br> Inserts a single line break 3.0 3.0 STF
<HR> Defines a horizontal rule 3.0 3.0 STF
<! --... --> Defines a comment 3.0 3.0 STF
         
Char format        
<B> Defines bold text 3.0 3.0 STF
<Font> Deprecated.Defines text font, size, and color 3.0 3.0 TF
<I> Defines italic text 3.0 3.0 STF
<Em> Defines emphasized text 3.0 3.0 STF
<Big> Defines big text 3.0 3.0 STF
<Strong> Defines strong text 3.0 3.0 STF
<Small> Defines small text 3.0 3.0 STF
<Sup> Defines superscripted text 3.0 3.0 STF
<Sub> Defines subscripted text 3.0 3.0 STF
<BDO> Defines the direction of text display 6.2 5.0 STF
<U> Deprecated.Defines underlined text 3.0 3.0 TF
         
Output        
<PRE> Defines preformatted text 3.0 3.0 STF
<Code> Defines computer code text 3.0 3.0 STF
<Tt> Defines teletype text 3.0 3.0 STF
<KBD> Defines keyboard text 3.0 3.0 STF
<Var> Defines a variable 3.0 3.0 STF
<Dfn> Defines a definition term   3.0 STF
<SAMP> Defines sample computer code 3.0 3.0 STF
<XMP> Deprecated.Defines preformatted text 3.0 3.0  
         
Blocks        
<Acronym> Defines an acronym 6.2 4.0 STF
<Abbr> Defines an abbreviation 6.2   STF
<Address> Defines an address Element 4.0 4.0 STF
<BLOCKQUOTE> Defines a long quotation 3.0 3.0 STF
<Center> Deprecated.Defines centered text 3.0 3.0 TF
<Q> Defines a short quotation 6.2 4.0 STF
<Cite> Defines a citation 3.0 3.0 STF
<Ins> Defines inserted text 6.2 4.0 STF
<Del> Defines deleted text 6.2 4.0 STF
<S> Deprecated.Defines strikethrough text 3.0 3.0 TF
<Strike> Deprecated.Defines strikethrough text 3.0 3.0 TF
         
Links        
<A> Defines an anchor 3.0 3.0 STF
<Link> Defines a resource reference 4.0 3.0 STF
         
Frames        
<Frame> Defines a sub window (a frame) 3.0 3.0 F
<Frameset> Defines a set of frames 3.0 3.0 F
<Noframes> Defines a noframe Section 3.0 3.0 TF
<IFRAME> Defines an inline sub window (FRAME) 6.0 4.0 TF
         
Input        
<Form> Defines a form 3.0 3.0 STF
<Input> Defines an input field 3.0 3.0 STF
<Textarea> Defines a text area 3.0 3.0 STF
<Button> Defines a push button 6.2 4.0 STF
<SELECT> Defines a selectable list 3.0 3.0 STF
<Optgroup> Defines an option group 6.0 6.0 STF
<Option> Defines an item in a list box 3.0 3.0 STF
<Label> Defines a label for a Form Control 6.2 4.0 STF
<Fieldset> Defines a fieldset 6.2 4.0 STF
<Legend> Defines a title in a fieldset 6.2 4.0 STF
<Isindex> Deprecated.Defines a single-line input field 3.0 3.0 TF
         
Lists        
<Ul> Defines an unordered list 3.0 3.0 STF
<Ol> Defines an ordered list 3.0 3.0 STF
<Li> Defines a list item 3.0 3.0 STF
<Dir> Deprecated.Defines a directory list 3.0 3.0 TF
<DL> Defines a definition list 3.0 3.0 STF
<DT> Defines a definition term 3.0 3.0 STF
<DD> Defines a definition description 3.0 3.0 STF
<Menu> Deprecated.Defines a menu list 3.0 3.0 TF
         
Images        
Defines an image 3.0 3.0 STF
<Map> Defines an image map 3.0 3.0 STF
<Area> Defines an area inside an image map 3.0 3.0 STF
         
Tables        
<Table> Defines a table 3.0 3.0 STF
<Caption> Defines a table Caption 3.0 3.0 STF
<TH> Defines a table Header 3.0 3.0 STF
<Tr> Defines a table row 3.0 3.0 STF
<TD> Defines a table cell 3.0 3.0 STF
<Thead> Defines a table Header   4.0 STF
<Tbody> Defines a table body   4.0 STF
<Tfoot> Defines a table footer   4.0 STF
<Col> Defines attributes for table columns   3.0 STF
<Colgroup> Defines groups of table columns   3.0 STF
         
Styles        
<Style> Defines a style Definition 4.0 3.0 STF
<Div> Defines a section in a document 3.0 3.0 STF
<Span> Defines a section in a document 4.0 3.0 STF
         
Meta info        
<Head> Defines information about the document 3.0 3.0 STF
<Title> Defines the document title 3.0 3.0 STF
<Meta> Defines meta information 3.0 3.0 STF
<Base> Defines a base URL for all the links in a page 3.0 3.0 STF
<Basefont> Deprecated.Defines a base font 3.0 3.0 TF
         
Programming        
<SCRIPT> Defines a script 3.0 3.0 STF
<NoScript> Defines a NoScript Section 3.0 3.0 STF
<APPLET> Deprecated.Defines an applet 2.0 3.0 TF
<Object> Defines an embedded object   3.0 STF
<Param> Defines a parameter for an object 3.0 3.0 STF

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.