left-pointing arrow for navigating to previous page

HTML Tutorial: Text


right-pointing arrow for navigating to next page

Bold ( <b> ) and Italic ( <i> ) Tags

Boldface and Italics

Begin by deleting the poetry. Replace it with these:

This is normal.<br>
<b> This is boldface </b> <br>
<i> This is italic </i> <br>
<i> <b> This is italic and boldface </b> </i> <br>
(You do know that you can copy from the browser, paste into the editor, don't you?)

You should get something like this:

Sample normal, boldface, italic and italic boldface text

Simple enough?

Other Text Styles

Here are a bunch of other text styles. They don't all work the same in all browsers so you shouldn't use them. Why am I telling you about them? Because you can define them as your own styles (an advanced, smooth move) and then they will all work as you specify. In this tutorial I use a custom definition of <em> in <em>index.html</em> to get index.html. All the HTML is surrounded by code tags: <code>html here</code>.

Next we'll make unordered (bulleted) and ordered (numbered or lettered) lists.

Love to learn lists!