The first chapter. HTML5 Foundation

Source: Internet
Author: User

1.1.1 HTML Introduction and history

1). HTML is a language used to describe a Web page, which is a Hypertext Markup language.

Basic structure of the 1.1.5 HTML5 file

Head (head) and body (body) Two parts, the head includes the page title (title) and other basic information, the subject includes the content of the page information, tablets, text and so on.

Basic information of 1.1.6 Web page

1.DOCTYPE Declaration

Must be on one line in an HTML document <! DOCTYPE html>

2.<title> Label

such as:<title> Sohu </title>

3.<meta> Label

Example: <meta charset= "UTF-8" >

Properties: CharSet represents the character set encoding, commonly used in the following types of encoding.

> gb2312: Simplified Chinese, commonly used for pages with Chinese and English

> ISO-885901: Plain English, generally used for pages that contain only English.

>big5: Traditional, generally used for pages with traditional.

>UTF-8: International Universal character encoding.

1.2.1 Title Tags

A total of six levels of titles

1.2.2 Paragraph labels and line wrapping labels

Paragraph label:<p>....</p>

Line Wrap Label:<br/>

1.2.3 Horizontal Line Label

1.2.4 Font Style Labels

Bold <strong>.....</strong> Italic <em>............</em>

1.2.5 Notes and special symbols

Comment <!--comment Content--

Special Symbol:&nbsp;   &gt;   &lt;    &quot; &copy;

Basic usage of 1.4.1 hyperlinks

Hyperlink: <a href= "link address" target= "target window Location" > link text or image </a>

Anchor Cable Connection: 1. Set the marker in page b position <a name= "Market" > target location B </a>

2. Set a location connection path href attribute value is "#标记名" <a href= "#market" > Current Position a </a>

  

The first chapter. HTML5 Foundation

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.