09: Custom Tags

The HTML we've used thus far has been fairly standard. You can find all of the tags and properties used in any reference on HTML, and we've used them in mostly standard ways. HTML also lets you use most any other words as tags which allows you to create more readable documents. For example, you could create a panel for a user with this HTML:

<person>
<name>Zed A. Shaw</name>
<paid>true</paid>
<admin>true</admin>
<last-login>2022-03-04 12:00:00</last-login>
<unsubscribe>true</unsubscribe>
</person>

None of these tags should exist in the HTML standard, and they should have no styling or pre-defined structures on them. You'll notice I can also add - (dash) characters in them, and the HTML standard officially says it will never put a - (dash) in any official names.

If we look at the results of this HTML it looks like this:

Learn JavaScript Today

Register today for the Beginner Basics course and get the new releases by just paying the difference. There's also special discounts for existing customers when new courses are released.


Still Not Sure? Check out more curriculum!