Create a Web page using the basic structure of HTML

Source: Internet
Author: User

1. How to create a new web page?

1 in the blank of the computer, Right-click-new--text document 2 Add the TXT file extension to HTML or htm, tap OK 3, Open the file with Notepad or editplus, write the basic structure of the Web page

2, the basic structure of the Web page, html--hypertext Markup Language

<!-title of the Web page title---

<title>xxx</title>

<!--page encoding settings--

<metahttp-equiv= "content-type"

Content= "text/html;charset=gb2312" >

Description: charset=gb2312 (simplified Chinese) or Utf-8 (international Universal character Encoding)

<body>

<!-the contents of the page to be displayed, put it in the body--

<body>

3. use text-related labels to compose text messages

[title]

[paragraph] <p></p>

[line wrapping] <br/>

[horizontal line]

[bold] <strong></strong>

[italic body] <em></em>

[special symbols]: spaces, See P16 page Table 1-1

[page Notes]:<!--write comments--

 4, the use of image-related tags to achieve illustrated pages

[Src]: Specify the relative path of the picture

[Title]: when the mouse hover, prompt text

[Alt]: If the picture path has no, replace the text of the picture

[width]: the width of the picture

[height]: the height of the picture

5. Relative path

[.. /]: Top level directory of current directory

[.. /.. /]: top-level directory at the top level of the current directory

Create a Web page using the basic structure of HTML

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.