Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Web Browser
Classes, IDs, & Divs


With the proper labels, we can style individual HTML elements! Specifically, we can label HTML elements with a unique identifier, or ID. We can then style that specific element in the stylesheet.

To label an element with an ID, we can use the id attribute on an HTML element.

<h1 id="botswana">Botswana</h1>

In the example above, the heading is labeled with an id of botswana.

What purpose do IDs serve? IDs are intended to label unique elements in an HTML file. No two HTML elements should ever share the same ID — that would defeat the purpose of a unique identifier!

Report a Bug
If you see a bug or any other issue with this page, please report it here.