This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11523|Reply: 0

[HTML/HTML5] Lesson 5, the use of some basic elements of html

[Copy link]
Posted on 10/19/2014 12:42:35 PM | | |
<p>Elements:

<p>In HTML web pages, it represents the meaning of line breaks, written in the body theme, such as: font line breaks. table wrapping, etc.

Basic Usage:
  1. <html>
  2. <head>
  3. 网页的头部,内容不会直接显示出来。
  4. </head>
  5. <body>
  6. <p>这是第一行</p>
  7. <p>这是第二行</p>
  8. </body>
  9. </html>
Copy code




<h1>To <h6>the element:

<h1>and <h6>can define the basic size of the font, the <h1>font is the largest and <h6>the smallest font.

Basic Usage:
  1. <html>
  2. <head>
  3. 网页的头部,内容不会直接显示出来。
  4. </head>
  5. <body>

  6. <h1>这是标题 1</h1>
  7. <h2>这是标题 2</h2>
  8. <h3>这是标题 3</h3>
  9. <h4>这是标题 4</h4>
  10. <h5>这是标题 5</h5>
  11. <h6>这是标题 6</h6>

  12. </body>
  13. </html>
Copy code






Previous:Lesson 4, a simple html web page
Next:My younger brother is a beginner. Learning HTML and CSS. When will you become the greatest Programmer
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com