How to Create Bold and Italicize Text Using HTML Programming
Bold or italicize the text on your page, using HTML code, to place emphasis. (Bold text is usually used for headings. And Italics is usually used for titles.) Customizing your text is a great way to give your site more appeal. In this tutorial you will learn how to bold or italicize the text 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. Locate the page on your PC.
-
2
Position your cursor between the brackets of the tag containing the text you will change to a bold font.
-
-
3
Type "font-weight: bold". Your text should look similar to the following: <STYLE>P{font-weight: bold}</STYLE>
-
4
Open a new web browser to verify that the web page correctly displays the text with bold font. If you wish to remove bold font from the page, position your cursor between the brackets of the tag containing the text that you wish to change. Type "font-weight: normal".
-
5
Position your cursor between the brackets of the tag containing the text you will change to italics.
-
6
Type "font-style: italic". Type font-weight: bold. Your text should look similar to the following:<STYLE>P{font-style: italic}</STYLE>
-
7
Open a new web browser to verify that the web page accurately displays the text using italics.
-
1
Tips & Warnings
You should display your web page in several browsers to check for accuracy.