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.


If you take a single line of HTML you can see it has certain "properties" when it's displayed in the browser:

  1. It might have a particular font.
  2. There might be a box around it.
  3. It could have color, underline, and other text decorations.
  4. It might have a certain size.
  5. It might be more or less visible.
  6. It might reference another HTML document, image, or other file.

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!