Common code for HTML

Source: Internet
Author: User

1.

Hyperlinks <a href= "#" > Hyperlinks (anchor) </a>

<address> Address </address>

<b> Bold </b>
<big> enlarge (BIG) </big>
<blockquote> reference Blocks (blockquote) </blockquote>
<br/> NewLine (break)

<center> Center (center) </center>
<cite> references (cite) </cite>
<code> Code </code>

<del> Remove (delete) </del>
<dfn> definition </dfn>
<div> Block (Division) </div>
<em> Emphasis (emphasize) </em>

<i> Italic (Italic) </i>

<u> underline (Italic) </u>

<p>p paragraph (paragraph) </p>
<pre> text displayed in a predetermined format (preformatted) </pre>
<q> references (quote) </q>

<samp> example (sample) </samp> <small> Zoom Out (small) </small>
<span> text segment (span) </span>
<strong> Highlights (Strong emphasized) </strong>
· <sub> subscript (subscript) </sub>
<sup> superscript (superscript) </sup> <textarea> multi-line text input area (textarea) </textarea> <tt> Telex Typewriter (teletype) (equal width font) </tt> <var> variable text (variable) </var> 2, title tag

3, List label--

[1], DL dictionaries list (dictionary list)

<dl>

<dt>dt Dictionary title (dictionary title) </dt>

<DD>DD Dictionary data (dictionary) </dd>

<dt>dt Dictionary title (dictionary title) </dt>

<DD>DD Dictionary data (dictionary) </dd>

</dl>

[2], OL have sequence list (order list)

<ol>

<li>li Item (list item) </li>

<li>li Item (list item) </li>

</ol>

[3], UL non-sequential list (unordered list)

<ul>
<li> Item (list item) </li>
<li> Item (list item) </li>
</ul>

4. Form Label
<form action= "#" method= "post" > form (Form) </form>

Picture (image)
<input type= "text" name= "name" value= ""/>input,type= ' text ' TextBox input box (text)
<input type= "Radio" name= "name" value= ""/>input,type= ' Radio ' Radio Box (radio)
<input type= "checkbox" name= "name" value= "/>input,type= ' checkbox ' check box (checkbox)
<input type= "file" name= "name" value= ""/>input,type= ' Files ' select box
<input type= "hidden" name= "name" value= ""/>input,type= ' hidden ' hidden fields (hidden)
<input type= "image" Name= "name" value= ""/>input,type= ' image ' button (image)
<input type= "password" name= "name" value= ""/>input,type= ' Password ' password input box (password)
<input type= "reset" name= "name" value= "reset"/>input,type= ' Reset ' reset button (reset)
<input type= "Submit" Name= "name" value= "Submit"/>input,type= ' Submit ' submission button (submit)
<input type= "button" name= "name" value= "button"/>input,type= ' button ' button


5. Drop-down list box

Select selection list (select)

<select>

<option value= "Value" >option selection (option) </option>

</select>


6 Table (table)
<table border= "0" cellpadding= "0" cellspacing= "0" >

<tr>

<TD>TD Tabular Data (table) </td>

<TD>TD Tabular Data (table) </td>

</tr>

<tr>

<TD>TD Tabular Data (table) </td>

<TD>TD Tabular Data (table) </td>

</tr>

</table>

Common code for HTML

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.