Sample Video Frame


05: Important Attributes

You'll learn more about CSS in the next module, but in this lesson I'm going to give you a very short introduction to the four main attributes that CSS uses to connect to your HTML. Using these four you can specify how your HTML looks using CSS.


In the previous exercise you created a global.css file to style your HTML, and added a single "rule" to it. Make sure that your global.css is working by confirming that the text in links is very large. Another test is to do this:

body {
  background-color: red;

Learn JavaScript Today

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

Still Not Sure? Check out more curriculum.