in Web Technologies
2,792 views
3 votes
3 votes

Given below are several usages of the anchor tag in HTML.

  1. <A HREF = "http://www.gate.ac.in/HTML/BASIC/testpage.html">Test Me</A>
  2. <A HREF = "/BASIC/testpage.html">Test Me</A>
  3. <A HREF = "testpage.html">Test Me</A>
  4. <A HREF = "testpage.html#test">Test Me</A>

Which of the above are valid?

  1. I and II only
  2. I and III only
  3. I, II and III only
  4. I, II, III and IV
in Web Technologies
2.8k views

1 Answer

8 votes
8 votes
Best answer
D) all are valid rfc 3986.

I. For absolute URL

II. For relative URL starting from website root

III. For relative URL starting from the current page location

IV. For relative URL starting from the current page location and then going to "test" part of the loaded page
selected by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true