How to Get an HTML Embed Code to Upload a Photo

Embedding a photo on a Web page allows you to have a little more freedom about where the photo can go. By using an embed code for a photo, you do not necessarily need to include the photo inside of a table or inside another kind of box on the page. When embedding a photo on a Web page, you also may choose to add a link to the photo so that another Web page opens when the photo is clicked.

Instructions

    • 1

      Open your Web server and log in using your user name and password.

    • 2

      Find the HTML file on which you want to embed a photo and click to open it.

    • 3

      Click anywhere on the page where you want to embed the photo between the <body> and </body> tags.

    • 4

      Insert the following code on your page:

      <img src="http://www.fish.com/trout.jpg" border="0">

    • 5

      Replace "http://www.fish.com/trout.jpg" with the actual URL or file path of the image you want to embed.

    • 6

      Publish the page.

Tips & Warnings

  • Use the following format to add a link to your embedded image:

  • <a href="http://www.mysite.com/bigfishcatch.html" target="_blank">

  • <img src="fish.com/trout.jpg" border="0"> </a>

Related Searches:

References

Resources

Comments

You May Also Like

Related Ads

Featured