mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-31 18:01:36 -04:00
fix(Curriculum): add note explaining anchor tag in HTML attributes lesson (#66643)
This commit is contained in:
@@ -17,6 +17,8 @@ The attribute name is followed by an equal sign (`=`) and a value in quotes. The
|
||||
|
||||
This first example uses the `href` and `target` attributes. The `href` attribute specifies the URL of a link and the `target` attribute specifies where to open the link.
|
||||
|
||||
**Note:** The `a` element, also known as the anchor element, is used to create hyperlinks. The text between the opening and closing `a` tags is the clickable part users select to navigate.
|
||||
|
||||
Enable the interactive editor and change the `href="https://www.freecodecamp.org/news/"` to `href="https://www.freecodecamp.org"`. Now when you click on the link in the interactive editor, you will see the freeCodeCamp homepage in a new browser tab.
|
||||
|
||||
:::interactive_editor
|
||||
|
||||
Reference in New Issue
Block a user