- 1). Open your HTML file in a text editor or web design program.
- 2). Decide whether you want to use the "Bold" or "Strong" HTML tag to make your text bold. Both tags will display the text as bold. The difference in them is that the "Strong" tag is designed so that screen reader software will actually emphasize the words that are highlighted with this tag. If you are only concerned with the visual impact of your text, use the "Bold" tag.
- 3). Type the tag into your text editor, followed by the text you want to see emphasized. For the "Bold" tag, the code is <b>. If you want to use "Strong", the code is <strong>.
- 4). Close the tag so that only the part you wish to emphasize is bold. This is done by typing </b> or </strong>, depending on which you choose to use, after the text. For example, to make the phrase "Hello, World" bold, your code would look like this: <b> Hello, World </b> or <strong> Hello, World </strong>.
- 5). Save your file and preview it to see the changes in your text.
previous post
next post