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

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!