Skip to content

Commit

Permalink
Update links-and-images.md (#26403)
Browse files Browse the repository at this point in the history
fix: Typo of word "hyperlink" changed to "hypertext".
  • Loading branch information
scottwright-dev authored Oct 2, 2023
1 parent 295784d commit dd6964b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foundations/html_css/html-foundations/links-and-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Add the following to the body of the index.html page we created and open it in t

You may have noticed that clicking this link doesn't do anything. This is because an anchor tag on its own won't know where we want to link to. We have to tell it a destination to go to. We do this by using an HTML attribute.

<span id="attribute"></span>An HTML attribute gives additional information to an HTML element and always goes in the element's opening tag. An attribute is usually made up of two parts: a name, and a value; however, not all attributes require a value. <span id="where-to-go"></span>In our case, we need to add a href (hyperlink reference) attribute to the opening anchor tag. The value of the href attribute is the destination we want our link to go to.
<span id="attribute"></span>An HTML attribute gives additional information to an HTML element and always goes in the element's opening tag. An attribute is usually made up of two parts: a name, and a value; however, not all attributes require a value. <span id="where-to-go"></span>In our case, we need to add a href (hypertext reference) attribute to the opening anchor tag. The value of the href attribute is the destination we want our link to go to.

Add the following href attribute to the anchor element we created previously and try clicking it again, don't forget to refresh the browser so the new changes can be applied.

Expand Down

0 comments on commit dd6964b

Please sign in to comment.