Common HTML tags

Source: Internet
Author: User
< Html> </ Html> Create HtmlDocument
<Head> <Title> </title> set the document title
<H1> <PRE> </PRE> pre-formatted text
<U> </u> underline
<B> </B> in bold
<I> </I> italics
<Tt> </tt> typewriter font
<Cite> </CITE> reference, usually in Italic
<Em> </em> emphasize text (usually italic and simhei)
<Strong> </strong> aggravate text (usually italic and simhei)
<Font size = "" color = ""> </font> set the font size from 1 to 7. The color uses the hexadecimal value of the name or RGB.
<Basefont> </basefont> base font mark
<Big> </big> increase the font size
<Small> </small> decrease the font size
<Strike> </strike> strikethrough
<Code> </code> code
<KBD> </KBD> keyboard
<SAMP> </SAMP> example
<Var> </var> variable
<BLOCKQUOTE> </BLOCKQUOTE> scale down to the right
<Dfn> </dfn> Definition
<Address> </address> address tag
<Sup> </sup> superscript
<Sub> </sub> subscript
<XMP>... </XMP> fixed attention font (in the file blank, line, and positioning function is effective)
<Plaintext>... </plaintext> fixed attention level fonts (without line mark)
<Listing>... </listing> fixed attention to small fonts
<Font color = 00ff00>... </font> font color
<Font size = 1>... </font> minimum body
<Font style = 'font-size: 100 PX '>... </font> unlimited increase

<P> </P> Create a paragraph
<P align = ""> align the section to the left, center, and right
<Br> insert a line break with the carriage return.
<BLOCKQUOTE> </BLOCKQUOTE> indent text from both sides
<DL> </dl> definition list
<DT> before each definition term
<DD> before each definition
<Ol> </OL> Create a list marked with numbers
<Ul> </ul> Create a list with dots
<Li> before each list item, if a number is added between <ol> </OL>,
If there is a dot between <ul> </ul>
<DivAlign = ""> </Div> Used for formatting large blocksHtmlSection, also used to format the table
<Menu> Option List
<Dir> directory list
<Nobr> </nobr> force line breaks
<HR size = '9' width = '000000' color = 'ff000000'> horizontal scaling (set the degree of parallelism)
<Center> </center> horizontal center

<A href = "url"> </a> Create a hypertext link
<A href = "mailtemail">
</A> create a link for automatically sending emails
<A name = "name"> </a> Create a bookmarks inside the document
<A href = "# name"> </a> create a link pointing to a bookmarks in the document.
<Base> URLs of all other link sources that cannot be identified by the site in this document
<Link> define the relationship between a link and the source.

◆ Link tag annotation: ◆

◆ Target = "..." determines where the link source is displayed (User-Defined name, _ blank, _ parent, _ Self, _ top
◆ Rel = "..." Send link type
◆ REV = "..." Save the link type
◆ Accesskey = "..." specifies the key of this element.
◆ Shape = "..." allows us to use a defined shape to define the client's image (default, rect, circle, poly
◆ Coord = "..." use pixels or length percentages to define the shape size
◆ Tabindex = "..." Use the defined tabindex element to set the focus Acquisition sequence between each element (use the tab key to make the element focus)

<Table> </table> Create a table
<Tr> </tr> each row in the table
<TD> </TD> each grid in a row in the table
<TH> </Th> set the table header: Usually the text in the center of the black body.
<Table cellspacing = ""> set the size of space between table cells.
<Table border = ""> set the Border Width
<Table cellpadding = ""> set the size of the space between the grid border and its internal content.
<Table width = ""> set the table width. Percentage with absolute pixel value or total width
<Table align = ""> set the horizontal alignment of table grids (left, center, right, justify)
<Tr align = ""> set the horizontal alignment of the table lattice (left, center, right, justify)
<Tr valign = ""> set the vertical alignment of table grids (baseline, bottom, middle, top)
<TD colspan = ""> set the number of columns across a table grid (default value: 1)
<TD rowspan = ""> set the number of rows that a table grid occupies (the default value is 1)
<TD nowrap> disable automatic row disconnection for content in the table Grid
<Caption> </caption> table title
<Colgroup> </colgroup> defines multiple columns as one group of columns.
<Table> </table> Create a table
<Thead> </thead> defines the table header.
<Col> define columns in a column group so that you can set relevant attributes for them at the same time.
<Tbody> </tbody> defines the object of a table.
<Tfoot> </tfoot> define the footer of a table -----

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.