fix(Curriculum): add note explaining anchor tag in HTML attributes lesson (#66643)

This commit is contained in:
Kowsalya B
2026-03-27 13:13:29 +05:30
committed by GitHub
parent af112a439f
commit 05365931cd

View File

@@ -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