It's okay in the company, write it at will, It's okay in the company, write it at will

Source: Internet
Author: User

It's okay in the company, write it at will, It's okay in the company, write it at will
HTML what is a browser and what is a server? Request Protocol: http protocol: What the browser did was to parse (render) The server response from top to bottom and display the final page effect. HTML, a language that can be recognized by the browser

2.1 h (header) Label

H series labels (headers): h1, h2, h3, h4, h5, h6: add the text on the page to the semantics of the title * Note: one page can only use one h1 tag

2.2 p (paragraph) Section label

Purpose: Add paragraph semantics to the previous section of the page. Features: a section on the page occupies a single row, and there is a distance between it and the content.

2.3 hr tag (Horizontal Rule)

Purpose: display a horizontal line (without its own semantics) on the page. A horizontal line is displayed on the page, which occupies the entire line by default.

2.4 br label (break)

Both functions and features are line breaks.

2.5 B (Bold), u (Underlined), I (Italic), s (Strikethrough), strong, em, del, ins

Role: B: bold Syntax: No semantics u: underline I: Skewed s: strikethrough is not recommended because these labels have no semantics. Role: strong: bold semantics: enhanced tone ins: underline em: Skewed del: strikethrough can be used

2.6 img Tag (image ):

Purpose: display an image on the page. The feature is to display the image. Attribute: Specifies the path to display the src image. If the image cannot be loaded, the text title in this attribute is displayed.

2.7 a tag (Anchor): Anchor

Other Name of tag a: hyperlink, hyperlink, and anchor function: You can jump to another page on one page. Note: Text must be written in tag a. If not, the tag cannot be found on the page. Other usage of tag a: 1.0 you can skip (jump to the current page) href = "#" 2.0 to jump to another page. 3.0 you can locate it on the current page. A. set the href attribute of tag a to "# id name", B. add a target tag (which can be any tag) to a specified position on the page. C. you must set an id for this tag: <p id = "mubiao"> This is the target </p> 4.0. 5.0 can be downloaded. (Not recommended) attributes of tag a: target address to which the href a tag jumps target _ blank: keep the original page, and then jump to _ self: jump to base on the current page to set the redirection mode for all the tags on the page (the base tag is generally placed under the titile tag)

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.