Common HTML tags and html tags

Source: Internet
Author: User

Common HTML tags and html tags

Common HTML Tag Element combination and introduction

<Html> <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

 

Format tag
<P> </p> Create a paragraph
<P align = ""> align the section to the left, center, and right
<Br> line feed inserted
<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>
<Div align = ""> </div> is used to print large HTML sections and format tables.
<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

Link flag table flag
<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)

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.