(1) HTML basics

Source: Internet
Author: User

1.HTML5 Basic Format

<!DOCTYPE HTML><HTML><Head>    <MetaCharSet= "Utf-8">    <title>title</title></Head><Body>content</Body></HTML>

2. HTML title H1-h6

<Body>    <H1>This is the H1 title</H1>    <H2>This is the H2 title</H2>    <H3>This is the H3 title</H3>    <h4>This is the H4 title</h4>    <h5>This is the H5 title</h5>    <h6>This is the H6 title</h6></Body>

3.html paragraph <p>

< Body >    < P > This is a paragraph. </ P >    < P > This is a paragraph. </ P > </ Body >

4.html Links

The header of the HTTP protocol should be added

< Body >   <  href= ' http://www.baidu.com '> Baidu URL </a>  </body>

The default is underlined

5. Picture

< Body >   <  src= "./image/1.jpg"  width= "  height=" 300 "  /></body>

(1) HTML basics

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.