How to Underline Text Using HTML Codes
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 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. You can underline text in your documents to place emphasis on wording. This guide will teach you how to underline text using HTML.
Start your word processor or text editor that you will use to create your web page.
Type in front of the text that you wish to underline.
Type after the text you wish to underline. Your text should look like the example below.
This is your text.
This is your text be underlined.
Open a new web browser and display your new heading. Ensure that the underlined text meets your approval.
in front of your text if you wish to use a line to strike out your text.
Type after the text that you are striking out. Your text should look like this:
This is your strikeout text.
Display your page in your web browser.
Tips & Warnings
- Be careful that you do not make your underlined text look like a hyperlink.