Site Structure

A Closer Look

Good job! Creating links with the anchor element is a fundamental web development skill.

The diagram to the right illustrates the different parts of the anchor element syntax. In the diagram, notice the following:

  1. Any valid URL can be used for the value of the href attribute.

  2. The URL must be enclosed with quotation marks.

  3. Text between the <a> and </a> tags can be as few or as many words as you would like.

Click Next to learn how to add images to a webpage!

Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.