From bf040e3684de1043cc2b11672a588146a6b84a39 Mon Sep 17 00:00:00 2001 From: Seth Martineau Date: Sun, 20 Oct 2024 16:40:27 -0400 Subject: [PATCH 1/2] Update links-and-images.md Opt to use scheme over protocol to infer broader use cases of absolute links based on reading found in "How Does the Web Work?" course. Specific article is a prerequisite reading of DNS reading and directly linked as a refresher. --- foundations/html_css/html-foundations/links-and-images.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foundations/html_css/html-foundations/links-and-images.md b/foundations/html_css/html-foundations/links-and-images.md index ec55122cf4a..89481a8a3b0 100644 --- a/foundations/html_css/html-foundations/links-and-images.md +++ b/foundations/html_css/html-foundations/links-and-images.md @@ -79,9 +79,9 @@ Generally, there are two kinds of links we will create: #### Absolute links -Links to pages on other websites on the internet are called absolute links. A typical absolute link will be made up of the following parts: `protocol://domain/path`. An absolute link will always contain the protocol and domain of the destination. +Links to pages on other websites on the internet are called absolute links. A typical absolute link will be made up of the following parts: `scheme://domain/path`. An absolute link will always contain the [scheme and domain](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL) of the destination. -We've already seen an absolute link in action. The link we created to The Odin Project's About page earlier was an absolute link as it contains the protocol and domain. +We've already seen an absolute link in action. The link we created to The Odin Project's About page earlier was an absolute link as it contains the scheme and domain. `https://www.theodinproject.com/about` From 31ddc729f67d9a0b01f1ec844d7b60762e32847e Mon Sep 17 00:00:00 2001 From: Seth Martineau Date: Sun, 20 Oct 2024 18:26:00 -0400 Subject: [PATCH 2/2] Update foundations/html_css/html-foundations/links-and-images.md Update MSN article link with section header Co-authored-by: MaoShizhong <122839503+MaoShizhong@users.noreply.github.com> --- foundations/html_css/html-foundations/links-and-images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/html_css/html-foundations/links-and-images.md b/foundations/html_css/html-foundations/links-and-images.md index 89481a8a3b0..d9cd6e62cc9 100644 --- a/foundations/html_css/html-foundations/links-and-images.md +++ b/foundations/html_css/html-foundations/links-and-images.md @@ -79,7 +79,7 @@ Generally, there are two kinds of links we will create: #### Absolute links -Links to pages on other websites on the internet are called absolute links. A typical absolute link will be made up of the following parts: `scheme://domain/path`. An absolute link will always contain the [scheme and domain](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL) of the destination. +Links to pages on other websites on the internet are called absolute links. A typical absolute link will be made up of the following parts: `scheme://domain/path`. An absolute link will always contain the [scheme and domain](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#basics_anatomy_of_a_url) of the destination. We've already seen an absolute link in action. The link we created to The Odin Project's About page earlier was an absolute link as it contains the scheme and domain.