HTML
Question 1 |
Given below are several usages of the anchor tag in HTML.
Which of the above are valid?
A | 1 and 2 only |
B | 1 and 3 only |
C | 1, 2 and 3 only |
D | 1, 2, 3 and 4 |
Question 2 |
Consider an XML file called intro.xml and a document type defintion (DTD) file intro.dtd as follows:
A validating parser will classify intro.xml as
A | Well-formed and validated |
B | Well-formed but not validated |
C | Validated but not well-formed |
D | Neither validated nor well-formed |
Question 3 |
Given below is an excerpt of an xml specification.
Given below are several possible excerpts from "library.dtd". For which excerpt would the above specification be valid?
A | |
B | |
C | |
D |
Question 4 |
A HTML form is to be designed to enable purchase of office stationery. Required items are to be selected (checked). Credit card details are to be entered and then the submit button is to be pressed. Which one of the following options would be appropriate for sending the data to the server. Assume that security is handled in a way that is transparent to the form design.
A | Only GET |
B | Only POST |
C | Either of GET or POST |
D | Neither GET nor POST |
Question 5 |
Consider the three commands : PROMPT, HEAD and RCPT.
Which of the following options indicate a correct association of these commands with protocols where these are used?
A | HTTP, SMTP, FTP |
B | FTP, HTTP, SMTP |
C | HTTP, FTP, SMTP |
D | SMTP, HTTP, FTP |
Question 6 |
A | SELECT |
B | Value |
C | INPUT |
D | BODY |
→ There are some tags in HTML which don't have a closing tag.
→ They end within the same tag.
Examples:
→ is a container tag, it has it's closing tag as .
→Other examples are , ,
etc.
→These are called container tags because they contain something, within the two tags.
Question 7 |
A | $ |
B | % |
C | / |
D | All of the options |