Recognize <img> tag, insert pictures for Web pages

Source: Internet
Author: User

In the production of web pages in order to make the page beautiful, it is certainly not a picture, you can use the label to insert the picture.

Grammar:

Example:

Explain:

1 , SRC: identifies the location of the image;

2 , alt: specifies descriptive text for the image, and when the image is not visible (when the download is unsuccessful), you can see the text specified by the attribute;

3 , Title: provides a description of the image when the image is visible (the text displayed when the mouse slides over the picture);

4 . The image can be an image file in gif,png,jpeg format.

<!DOCTYPE HTML><HTML><Head><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8"><title>Great Gatsby.</title></Head><Body>    <P>In the spring of 1922, one wanted fame named Nick Karawi (<ahref= "http://www.m1905.com/mdb/star/3316/">Tobey Maguire Tobey Maguire</a>Left the Midwestern United States and came to New York. It was a time of rising morality, popular jazz, smuggling as king, and soaring stocks. In pursuit of his American dream, he moved into a bay near New York to live.</P>  <P>Fitzgerald, one of the American literary giants of the 20th century, combines both writer and screenwriter. He sings the ornate elegy of the "Jazz Age" with the poet's sensibility and the imagination of the dramatist, and the temperament of his poet and Dreamer is also the perfect note for that extravagant age.</P>  <imgsrc= "Http://img.rinpe.com/123.jpg"alt= "Oh, the picture's Hung!"title= "Test"> </Body></HTML

Recognize tag, insert pictures for Web pages

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.