1 / 7

Inserting images into a webpage

Inserting images into a webpage. Images in a web page. Images can be used in web page for: background image (background for html doc or table cell. foreground image, which you can create links (hyperlink) for it. How to insert image as background image?. Click and view this link .

arlo
Télécharger la présentation

Inserting images into a webpage

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Inserting images into a webpage

  2. Images in a web page • Images can be used in web page for: • background image (background for html doc or table cell. • foreground image, which you can create links (hyperlink) for it.

  3. How to insert image as background image? Click and view this link. Do you see an image (purple vertical stripes) used as background? What is the code to insert a background image? (You have seen the code in the previous lesson)

  4. How to insert image as the contents for a webpage? Click and view this link. Do you see two images (with hand and fingers) used as the contents for the webpage? What is the code to insert these images? Answer is…

  5. How to insert image as the contents for a webpage? What is the code to insert these images? Answer is… <img src="guitar.jpg" width="200" height="144" alt="Bob Baker's blues guitar">

  6. <img> tag Or <img /> tag for XHTML strict tag. It’s an empty / standalone tag.

  7. <img> tag Q & A: What if the image is store in the “images” folder of your website? Can you load it to your webpage? Can you load an image from the Internet to your webpage? Answer? Try this example.

More Related