How to Make a Caption Under a Photo
Adding a caption provides useful information about a photo. Before digital photography, you could just write a caption on the back or bottom of a photo. Now the process is slightly more complicated. You can caption a photo in two ways. If you are uploading an image to a photo website, you can use the site's user interface to add a caption. If you are adding the photo to your website, you can add the caption yourself using HTML code.
Instructions
-
Using a Website's User Interface
-
1
Upload your photo to the website.
-
2
Click in the provided captioning text box, usually located beneath the uploaded photo.
-
-
3
Type in a caption for the photo and click the "Save" button to save the caption.
Using HTML
-
4
Open the HTML file in which you want to place the captioned photo with your preferred HTML or plain text editor.
-
5
Locate where you want to put the captioned photo and click to move the cursor here. Type
<div class="image"> to create a div element in which to put the photo. -
6
Type <img src="http://www.site.com/image.jpg" /> to specify where to load the image from. Replace "http://www.site.com/image.jpg" with the URL of the image you want to display.
-
7
Type <div>Caption</div> to place a div element inside the first div element to hold your photo caption text. Replace "Caption" with the text caption you would like to appear beneath the photo.
-
8
Type </div> to close the first div element. Save the HTML file and upload it to your website using your preferred FTP client. Check the live page online to make sure that it is displaying correctly.
-
1
References
- Photo Credit Jupiterimages/Photos.com/Getty Images