October 24, 2016--html common tags

Source: Internet
Author: User

Body Properties of:

BgColor page background color

Background background wallpaper, pictures

Text text color

TopMargin Top Margin

LeftMargin left Margin

RightMargin Right Margin

BottomMargin Bottom Margin

Format Control Tags:

<font color= "" face= "" size= "" ></font>

<size= "+4"  color= "#FF0000"> font Format control Tags:</  font>

Effect display: font formatting control label

Controls the color, font, and size of the font, respectively.

<b></b> Font Bold

< b > text Bold way 1,b label </b>

Effect display: text bold way 1,b label

<strong></strong> Font Bold

< Strong > text Bold way 2,strong label </strong>

Effect display: text bold way 2,strong label

<i></i> Tilt

< I > Text tilt mode 1,i label </i>

Effect display: text tilt mode 1,i label

<em></em> Tilt

< em > Text tilt mode 2,em label </em>

Effect display: text tilt mode 2,em label

<u></u> Underline

< u > text underline, u label </u>

Effect display: text underlined, u label

<center></center> Center

< Center Center >Center. Before and after the other execution before and after the line break. Ensure that you are a whole and then center the display </Center>

Effect Show:

Center Center. Before and after the other execution before and after the line break. Ensure that you are a whole and then center the display

<br> or <br/> equivalent to carriage return

Content container Tags:

the HTML title is defined by tags such as

Before and after the other execution before and after the line break. And the empty line determines how many font sizes are added, and how many font sizes are reduced, depending on the default text size of your region

<H1>111111</H1><H2>222222</H2><H3>333333</H3><h4>444444</h4><h5>555555</h5><h6>666666</h6>

Effect Show:

111111222222333333444444555555666666

<p></p> Paragraph labels (blank lines between paragraphs)

111< P >p tags, paragraph labels. Default, before and after the other, the execution before and after the line, and empty line, to ensure that itself is a whole. </ P >111

Effect Show:

111

P tags, paragraph labels. Default, before and after the other, the execution before and after the line, and empty line, to ensure that itself is a whole.

111

<div></div> Layer Labels (one row by default)

<style= "Background-color: #0F0">div layer tag, which occupies a whole line by default </ Div >

Effect Show:

div layer tag, which takes up a whole line by default

<span></span> Layer Labels (the default is how much space is used to occupy much space)

<style= "Background-color: #63C">span Layer label, which is used by default as much as it takes </  span>

Effect display:span layer label, the default number of uses to occupy how much

<ol type= "1" > Ordered list

<li> content <li>

<li> content <li>

</ol>

<oltype= "A">ol have sequence table<Li>Comes with serial number</Li><Li>Wrap Line</Li><Li>Default, before and after the other, the execution before and after the line, and an empty line, to ensure that itself is a whole</Li></ol>

Effect Show:

      OL ordered List
    1. Comes with serial number
    2. Wrap Line
    3. Default, before and after the other, the execution before and after the line, and an empty line, to ensure that itself is a whole

<ul type= "1" > Unordered list

<li> content <li>

<li> content <li>

</ul>

<ul>ul unordered list<Li>No self-signed serial number</Li><Li>Wrap Line</Li><Li>Default, before and after the other, the execution before and after the line, and an empty line, to ensure that itself is a whole</Li></ul>

Effect Show:

      ul unordered list
    • No self-signed serial number
    • Wrap Line
    • Default, before and after the other, the execution before and after the line, and an empty line, to ensure that itself is a whole

<a href= hyperlink address > Hyperlink text </a> hyperlink label

<ahref= "Http://www.baidu.com"Target= "_blank">Hyperlink tag target= "_blank" new window opens</a><BR/><ahref= "Http://www.baidu.com"Target= "_parent">Hyperlink tag target= "_parent" opens on current page</a><BR/>

Effect display: Hyperlink tag target= "_blank" new window opens
Hyperlink tag target= "_parent" opens on current page

<img src= "picture address " alt= "text " width= "" height= ""/> picture label

<src= "Http://image.mamicode.com/info/201610/20180110212609899807.ico"  Height= " +" alt= "What is this"  title= "This is a picture"/>

Effect Show:

October 24, 2016--html common tags

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.