Loading...

Let's review proper use of the HTML techniques covered in this lesson.

Practice what you've learned about comments and ampersand notation with the activity below.

In which situation is it best to use a comment tag?

  1. to indicate the start of each row in a table
  2. to explain what each HTML tag stands for
  3. to indicate where the code for an image gallery begins
  4. to give a title to the webpage

Why are comment tags helpful when debugging your code?

  1. They can keep a section of code from being parsed and displayed.
  2. Code within comment tags will be tested by the browser.
  3. The code will be displayed on the webpage as plain text.
  4. You can leave comments for another designer to see what you've tried so far to fix a problem.

Which character does not need to be written in ampersand notation in HTML?

  1. &
  2. <
  3. >
  4. !

Which example is written in correct ampersand notation?

  1. &nbsp;
  2. &nbsp
  3. &amp;nbsp;
  4. &nbsp&

Which example uses proper syntax for writing a comment tag?

  1. < !-- I am a comment tag. -- >
  2. <!--I am a comment tag.-->
  3. <!----I am a comment tag.---->
  4. <!--I am--a--comment--tag.-->

Summary

Questions answered correctly:

Questions answered incorrectly: