You can center your words on a line:
- <center>Woo-Hoo! I’m Learning HTML!</center>
WARNING! You really shouldn’t use the <center></center> tags once you understand HTML and CSS (which we’ll explain a little later). However, since you’re just starting to learn HTML, go ahead and use them.
You can make words bold or strong:
- <strong>Woo-Hoo!</strong> I’m learning HTML!
Notice that I placed the start bold tag, <strong>, just before the word that I wanted to make bold, as well as placing the end bold tag, </strong>, right after the word I wanted to make bold. This way I am giving specific instructions to the web browser, telling where to start making things bold and where to end. If I had forgotten to put the </strong> tag, it would have totally changed the display in the web browser. Check it out:
- <strong>Woo-Hoo! I’m learning HTML!
You can make words italicized or emphasized:
- Woo-Hoo! I’m <em> learning </em> HTML!
You can even use tags in combination. Want something bold and in italics? No problem:
- <title> Learning HTML </title>
- <strong><em>Woo-Hoo! I’m learning HTML!</em></strong>
This resource originally created by Deborah Dunk.
Revised and edited by Michael Galloway in 2005 & in 2006.