Machine-translated by Google. Questions are authored in English.
Top

Discussion

While linking to Anonymous FTP system which of the following anchors is correct ?

  • A.\(\lt\)a href = "ftpto : // ftp.google.com"\(\gt\) google's public FTP servers \(\lt\)/a\(\gt\)
  • B.\(\lt\)a href="ftp : // ftp.google.com"\(\gt\) google's public FTP servers \(\lt\)/a\(\gt\)
  • C.\(\lt\)a href : "ftp : //ftp.google.com"\(\gt\) google's public FTP servers \(\lt\)/a\(\gt\)
  • D.\(\lt\)a href : "ftp to : //ftp.google.com"\(\gt\) google's public FTP servers \(\lt\)/a\(\gt\)'

Answer: B

The correct anchor is the one with href="ftp://ftp.google.com", option B.

An HTML link is an a element whose href attribute is given with an equals sign, href="URL", and an anonymous FTP server is addressed with the ftp: URL scheme, as in ftp://ftp.google.com. Option B is the only one with both (the paper prints spaces round the colon and slashes, which are not part of a URL).

Option A uses 'ftpto', which is not a URL scheme. Options C and D write href with a colon instead of an equals sign, which is not valid HTML, and D also uses 'ftp to'.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.