Jump to content

Loading image to html

Recommended Posts


<!DOCTYPE html><html><head><meta charset="utf-8"><title>Page Title</title><style>img{ border:3px solid blue;width:800px;height:600px;}</style></head><body><a href="http://www.w3schools.com/html/html_images.asp">This is a link</a><hr/><img src="http://www.w3schools.com/html/pic_mountain.jpg" alt="pic_mountain.jpg"/> </body></html>

Share this post

Link to post
Share on other sites

To add another image you just add that line...

<img src="http://www.w3schools.com/html/html5.gif" alt="html5.gif"/>

...if these images were on your own computer in the same folder you would only need to supply the filename itself such as...

<img src="html5.gif" alt="html5.gif"/>

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...