How to Add a Caption Using HTML Programming
HTML--hypertext markup language--is a computer language that is used to create web pages. Websites and web pages are written in HTML code. Whether you are setting up a personal web page or a business web page, learning HTML code can be very beneficial. Knowing how to use the codes can help you manipulate your page settings. HTML documents contain plain text and have the extension .html or .htm extension. You can add captions to tables on your page. These captions can be customized to fit the content on your site. Captions are a great way to give your images more appeal and attract viewers to your page. This guide will teach you how to add captions to tables for display on your page. It presents a very simple approach to customizing your page.
Instructions
-
-
1
Start the word processor or text editor that you will use to create your web page.
-
2
Type <CAPTION> directly below the <TABLE> tag for the table you want to place the caption above. Decide what caption will be placed above your table.
-
-
3
Type the caption that you choose to place above the table.
-
4
Type </CAPTION> after the caption that you choose. Your text should look like the example below:<HTML><HEAD><TITLE>This is your title</TITLE></HEAD><BODY><TABLE BORDER=8><CAPTION>This is your caption</CAPTION><TR>
-
5
Open a new web browser to verify that your web page displays the border correctly around the image. To display your page, you may use a browser such as Internet Explorer. To open your web page in the browser, click the file button along the menu bar, click open. The open dialog box appears. Click Browse to locate your web page in the location that it is saved. Choose the web page that you wish to open. Your web page will appear in the browser.
-
1
Tips & Warnings
You should display your web page in several browsers to see how each browser will display your page.