This is an ad.
 
Webmonkey Kids
Webmonkey Kids
Lessons
Projects
Playground
Tools

Introduction
icon What Are Tags?
Closing Tags
Using Tags
Getting Started
Make Your First Web Page
Fixing Your First Web Page



Parents and Teachers:
Find out how your kids can use Webmonkey for Kids as a learning tool at home or in the classroom with our Planning Guide.

Send us feedback

Lesson A: What Is HTML?
Closing Tags


he problem is that the browser doesn't know when to stop - it'll put every single word after that tag into boldface. To keep this from happening, you need to tell the browser when enough is enough. That's why HTML has closing tags. Closing tags are just like the regular tags (sometimes called "opening tags"), except there's a slash in there before the letter.

The closing tag for boldfacing, then, looks like this:

</b>

What this tag does is tell the browser, "Stop! No more boldface, please! I beg you!" So if you just want the word "staplers" put into boldface, you stick the regular tag in front of "staplers" and the closing tag after it:

<b>staplers</b>

Back

Next Page