Basic html concepts, html concepts

Source: Internet
Author: User

Basic html concepts, html concepts

I. HyperText Markup Language content. html is a weak code Language and the code writing is not rigorous.

1. hyperlink <a href = "#"> hyperlink (anchor) </a>

When writing the href address of a hyperlink, pay attention to whether there is a corresponding parsing protocol. If no protocol is set, follow the text protocol of the default local file.

Https, http, email, custom (Thunder), etc;

2. Other labels

<Address> address </address>

<B> bold </B>
<Big> zoom in </big>
<Blockquote> block reference </blockquote>
<Br/> line feed (break)

<Center> center </center>
<Cite> reference (cite) </cite>
<Code> code </code>

<Del> delete </del>
<Dfn> definition </dfn>
<Div> division </div>
<Em> emphasize (emphasize) </em>

<Hr/> horizontal)

<I> italic </I> <u> underline </u>

<P> section p (paragraph) </p>
<Pre> Preformatted text </pre>
<Q> quote </q>

<Samp> example </samp> <small> small </small>
<Span> Text Segment (span) </span>
<Strong> emphasis (strong emphasized) </strong>
· <Sub> subscript </sub>
<Sup> superscript </sup> <textarea> textarea </textarea> <tt> teletype (same width font) </tt> <var> variable </var> 3. Title label

<H1> Title 1

<H2> Title 2

<H3> Title 3

<H4> Title 4

<H5> Title 5

<H6> Title 6

4. list tag --

[1]. dl dictionary list (dictionary list)

<Dl>

<Dt> dt dictionary title </dt>

<Dd> dd dictionary data </dd>

<Dt> dt dictionary title </dt>

<Dd> dd dictionary data </dd>

</Dl>

[2]. ol ordered list (order list)

<Ol>

<Li> list item </li>

 

<Li> list item </li>

 

 

</Ol>

[3]. ul unordered list (unordered list)

<Ul>
<Li> list item </li>
<Li> list item </li>
</Ul>

5. Form tags
<Form action = "#" method = "post"> form </form>

image)
<Input type = "text" name = "name" value = ""/> input, type = 'text' text input box (text)
<Input type = "radio" name = "name" value = ""/> input, type = 'Radio '(radio)
<Input type = "checkbox" name = "name" value = ""/> input, type = 'checkbox' check box (checkbox)
<Input type = "file" name = "name" value = ""/> input, type = 'file' file selection box (file)
<Input type = "hidden" name = "name" value = ""/> input, type = 'ddden 'hide the field (hidden)
<Input type = "image" name = "name" value = ""/> input, type = 'image' 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 'submit button (submit)
<Input type = "button" name = "name" value = "button"/> input, type = 'click' button


6. drop-down list box

Select)

<Select>

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

</Select>


7. table)
<Table border = "0" cellpadding = "0" cellspacing = "0">

<Tr>

<Td> td table data </td>

 

<Td> td table data </td>

 

 

</Tr>

<Tr>

<Td> td table data </td>

 

<Td> td table data </td>

 

 

</Tr>

</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.