HTML Hypertext Markup Language (i)

Source: Internet
Author: User

First, what is HTML(Hyper Text Markup Language)

1, is a markup language , with a set of label tags to describe the Web page, in addition to text can also have pictures, video, audio, animation effects and other content;

2. The basic format is:

<HTML>

<head > head Tags: put some control stuff </head>

<body> body tag, put visible content </body>

</HTML>

3. HTML tags are made up of keywords surrounded by angle brackets, usually appearing in pairs, such as <p></p>;

4. HTML documents are also referred to as Web pages, and the role ofWeb browsers is to read HTML documents and display them as Web pages. The browser does not display HTML tags, but instead uses tags to interpret the contents of the page;

5. Some common HTML tags and formats:

hyperlink : <a href= "http://www.cnblogs.com/" target= "_blank" > What to do with hyperlinks </a>

Note that:<a> is a label , and href and target are properties of the tag.

The yellow section is the URL of the page or other site you want to point to. Set the target property of the link to "_blank" and the link opens in a new window .

Image Hyperlink : <a href= "http://www.cnblogs.com/" >

</a>

Note that: is an image label , which is an empty tag, that is, it contains only attributes and does not have a closed label;

SRC refers to the source attribute, where the value is the URL address of the image (where the image is stored);

ALT replaces the Text property . Defines a set of prepared, replaceable text for an image that tells the user what information they have lost when the browser fails to load the image. The browser will now display this alternative text instead of the image.

HTML Hypertext Markup Language (i)

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.