AgainColours
The profile

2 of 11

Two files

This lesson is closed. Finish the one before it. Do the practice. Pass the assessment. Then this one opens.

Go to A tag is a label

Back to the lesson. Three tries are used. Read this again, then try the code.

You finished. The lesson is open again.

Look here

index.htmlthe writing
yourname.cssthe paint

In plain words

HTML is the writing: the headings, the menu, the paragraphs. CSS is the paint: colours, space, borders. This project wants them in two files. The writing file points at the paint file by name.

1 of 3

The labels

<link rel="stylesheet" href="yourname.css">

Line by line

  1. linkA link in the head connects this page to another file. It is not the menu. The menu comes later, in the body.
  2. rel="stylesheet"Says what the other file is for. stylesheet means paint.
  3. href="yourname.css"The file name. Yours might be ada.css. The HTML and the file on disk must use the same name.

The next lesson opens after you practice and pass the assessment.

Practice

The paint file is named badly. Fix the link so it can load.

Assessment

The lesson is closed. Pick one answer each, then mark it. A wrong answer tells you why, what to do, and what to remember.

Where should the colours and spacing be written?
The link says href="Home Page.CSS". What goes wrong?