From ed7a4bb0383fe95e9cf995cab79bcde2b6636361 Mon Sep 17 00:00:00 2001 From: Liz Date: Sun, 20 Jan 2019 15:00:17 -0600 Subject: [PATCH] Updated href tag (#28315) --- guide/english/html/attributes/index.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/guide/english/html/attributes/index.md b/guide/english/html/attributes/index.md index 89fabc551e..ab7cb6887e 100644 --- a/guide/english/html/attributes/index.md +++ b/guide/english/html/attributes/index.md @@ -12,10 +12,10 @@ For example, an anchor (``) element in an HTML document creates links to othe Here's an example of a link that sends users to freeCodeCamp's home page: ```html -Click here to go to freeCodeCamp! +Click here to go to freeCodeCamp! ``` -Notice that the attribute name (`href`) and value ("www.freeCodeCamp.org") are separated with an equals sign, and quotes surround the value. +Notice that the attribute name (`href`) and value ("https://www.freeCodeCamp.org/") are separated with an equals sign, and quotes surround the value. There are many different HTML attributes, but most of them only work on certain HTML elements. For example, the `href` attribute won't work if it's placed in an opening `

` tag. @@ -35,7 +35,6 @@ Here are examples that do the same thing: ``` ## Other Resources - - [HTML links](https://guide.freecodecamp.org/html/attributes/links/) - [Href Attribute](https://guide.freecodecamp.org/html/attributes/href-attribute/) - [Lang Attribute](https://guide.freecodecamp.org/html/attributes/lang/)