Html basic tags, html tags

Source: Internet
Author: User

Html basic tags, html tags

FontTag <font size = "1 ~ 7 "color =" red | # ff0000 "> </font>

TitleLabel

Horizontal lineTag

Line feedTag <br/>

Special characters:

& Lt; indicates <

& Gt; representation>

& Nbsp; indicates a space

& Amp; indicates &

& Quot; indicates"

& Reg; indicates a registration symbol

& Copy; indicates a copyright symbol.

List tag:

Definition list

<Dl>

<Dt>

</Dt>

<Dd>

</Dd>

</Dl>

Ordered list

<Ol type = "1 | I | a">

<Li> </li>

</Ol>

<Ul type = "dis" | "circle" | "square">

<Li> </li>

</Ul>

ImageTag

HyperlinkTag

<A href = "#" target = "_ self | _ blank"> # indicates that the current directory is opened when nothing is opened.

<A name = "top"> top </a>

<A href = "# top"> Back to top </a>

Original outputTag

<Pre> the format shown here is retained </pre>

Table label attributes and merged Cells

<Table border = "2" bordercolor = "red" cellspacing = "1" width = "" height = "">

<Caption> title | description </caption>

<Tr>

<Td colspan = "3"> Cross-3 columns </td>

</Tr>

<Tr>

<Td> </td> <td rowspan = "3"> 3 rows </td>
</Tr>

</Table>

Input in the form label range

<Form action = "submit to an address, by default, the current "method =" get | post get carries low data security and limited size post does not carry high security and no restriction "enctype =" File Upload attributes ">

<Input type = "text"/>

<Input type = "password"/>

<Input type = "radio"/>

<Input type = "checkbox" checked = "checked"/> indicates that the selected

<Input type = "file"/>

 

<Select name = "birth">

<Option value = "0" selected = "selected"> select </option> selected by default

<Option value = "1"> 2018 </option>

</Select>

<Textarea cols = "10" rows = "5" name = ""> </textarea>

<Input type = "hidden"/>

<Input type = "submit" value = "submit"/>

<Input type = "image" src = "the button for submitting images will look good"/>

<Input type = "reset" value = "reset">

<Input type = "button" value = "">

</Form>

OthersTag

<B> </B> bold

<U> </u> underline

<I> </I> skew

<S> </s> strikethrough

3 <sub> 2 </sub> subscript

3 <sup> 2 </sup>

<Div> </div> block line feed

<Span> </span> A prompt is displayed without line breaks.

<P> </p> section

<Meta charset = "UTF-8"> header tag

 

Related Article

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.