You direct a browser to a URL http://example.com/initialpage/index.html which re
ID: 3725805 • Letter: Y
Question
You direct a browser to a URL http://example.com/initialpage/index.html which replies with a web page with the which following links: <a href=“/starts/with/a/slash”>Link A</a> <a href=“no/starting/slash”>Link B</a>Write the full URL that would be navigated to when you click on each of the links.
(A) Link A: (B) Link B: You direct a browser to a URL http://example.com/initialpage/index.html which replies with a web page with the which following links: <a href=“/starts/with/a/slash”>Link A</a> <a href=“no/starting/slash”>Link B</a>
Write the full URL that would be navigated to when you click on each of the links.
(A) Link A: (B) Link B: You direct a browser to a URL http://example.com/initialpage/index.html which replies with a web page with the which following links: <a href=“/starts/with/a/slash”>Link A</a> <a href=“no/starting/slash”>Link B</a>
Write the full URL that would be navigated to when you click on each of the links.
(A) Link A: (B) Link B:
Explanation / Answer
SInce path mentioned in the Href attribute is not absolute but relative. so the final full url of the navigated page will be
as follows:
A. http://example.com/initialpage/starts/with/a/slash
B. http://example.com/initialpage/no/starting/slash
Incase of relative path browser looks for same path from curent directory where index.html is residing.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.