• edited by
3,914 views
3 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

1 Answer

Best answer
9 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:
Position:
Show:

Related questions

1 1 vote
2 answers 2 answers
3.9k
3.9k views
Ishrat Jahan asked Nov 2, 2014
3,871 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...
1 1 vote
1 1 answer
2.7k
2.7k views
Ishrat Jahan asked Nov 2, 2014
2,661 views
Consider an XML file called intro.xml and a document type defintion (DTD) file intro.dtd as follows:intro.xml<?xml version = "1.0"? <!DOCTYPE myMessage SYSTEM "intro.dtd"...
4 4 votes
2 answers 2 answers
13.8k
13.8k views
Ishrat Jahan asked Nov 2, 2014
13,819 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...
3 3 votes
1 answers 1 answer
5.4k
5.4k views
Ishrat Jahan asked Nov 2, 2014
5,446 views
If f(l) = 2, f(2) = 4 and f(4) = 16, what is the value of f(3) using Lagrange's interpolation formula?88(1/3)8(2/3)9