Simple structure of "html" "1" html

Source: Internet
Author: User

1> Why we can open HTML pages

The computer itself has a configuration file suffix open program default, like:. txt + + Notepad open html=> browser open

All the originator of the file originates from the. txt file, you can run the code with the appropriate program [browser] As long as you have modified the corresponding file suffix (. txt to. html), if you have written the corresponding code in the file

2> A simple HTML example, oh my hello World

1 <!DOCTYPE HTML>//Tell the browser this is HTML5 document is not HTML4 or other documents, H4 differs from this2 <html  > //The largest label must have3      <head  > //Head tags must have4     <title>Yinana</title>//Label header display title must have5      </head> 6  <body> //Body tag must have  7     <Div>//div box label not required8 This is the main content9     </Div>Ten  </body>  One </html> 

Operation Result:

Ok

Simple structure of "html" "1" 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.