HTML markup Language--image markup

Source: Internet
Author: User

Image marker

1 Image Markers

1.1 How to use

" alt= "Property value"

1.2 Properties of the tag

1.2.1 src attribute

specify that we want to The path of the loaded picture and the name of the picture and the picture format

1.2.2 Width Property

Specify the width of the picture, in px, em, cm, mm

1.2.3 Height Property

Specifies the height of the picture, in units px, em, cm, mm

1.2.4 Border Properties

Specifies the border width of the picture, in units px, em, cm, mm

1.2.5 ALT Attribute

when the picture on the webpage is loaded, the mouse moves to the top, and the attribute text specified in the picture is displayed.

If the image is not downloaded or failed to load, the text will be used instead of the image display

Search engines can use the text of this property to crawl images

1.3 Note

is a single marker and does not need to be used </img> closed

when loading the image file, the file path or filename file format is wrong, will not load the picture  

HTML markup Language--image markup

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.