How to Publish a Photo Caption in HTML

104 158
    • 1). Locate the spot within the HTML file where you'd like the photo and caption to go. Click on the spot to place your cursor there.

    • 2). Type in the following code:



      <img src=image.jpg>



      Caption Text



    • 3). Replace "image.jpg" with the filename of the image you would like to use, then replace "Caption Text" with what you would like the caption to say. If you would like the caption to be centered under the image, place <center> and </center> tags on either side of the caption text.

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.