edited by
3,299 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
edited by

1 Answer

Best answer
9 votes
9 votes
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

1 votes
1 votes
2 answers
2
Ishrat Jahan asked Nov 2, 2014
3,020 views
Which of the following objects can be used in expressions and scriplets in JSP (Java Server Pages) without explicitly declaring them?session and request onlyrequest and r...
4 votes
4 votes
2 answers
3
Ishrat Jahan asked Nov 2, 2014
11,515 views
Which one of the following statements is FALSE?HTTP runs over TCPHTTP describes the structure of web pagesHTTP allows information to be stored in a URLHTTP can be used to...
0 votes
0 votes
1 answer
4
admin asked Apr 1, 2020
885 views
Web links are stored within the page itself and when you wish to ‘jump’ to the page that is linked, we select the hotspot or anchor. This technique is calledHypertext...