Sample Video Frame

Created by Zed A. Shaw Updated 2026-08-31 20:32:57
 

03: Attributes

You now know what a tag is, and should be able to write some simple HTML for displaying text. Our next move is to learn about attributes, which are settings you can give different HTML tags to configure their behavior.

Warm-up

Knowing the names of characters you use helps you read and write code. Here's the characters you've seen in HTML so far, and what I call them.

  • < -- less-than
  • > -- greater-than
  • = -- equal
  • / -- slash, or forward-slash. Not to be confused with the \ backslash.
  • " -- double-quote
  • & -- ampersand
  • ; -- semi-colon

Write out the following line of code so that all of the above characters are replaced with their names:

<a href="/">1 &lt; 2 == true</a>
Previous Lesson Next Lesson

Register for The Pro-Webdev Mega Bundle

Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.