HTML
Question 1 |
A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?
Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP connection to server S | |
Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is sufficient | |
A single HTTP request from Q to S is sufficient, and a single TCP connection between Q and S is necessary for this | |
A single HTTP request from Q to S is sufficient, and this is possible without any TCP connection between Q and S |
Whenever a browser opens a webpage, a separate HTML request must be sent for each image or component in HTML like css file or javascript. But all can be done in the same TCP connection.
Question 2 |
HTML (Hyper Text Markup Language) has language elements which permit certain actions other than describing the structure of the web document. Which one of the following actions is NOT supported by pure HTML (without any server or client side scripting) pages?
Embed web objects from different sites into the same page | |
Refresh the page automatically after a specified interval | |
Automatically redirect to another page upon download | |
Display the client time as part of the page |
Question 3 |
Consider the HTML table definition given below:

The number of rows in each column and the number of columns in each row are:
〈2, 2, 3〉 and 〈2, 3, 2〉 | |
〈2, 2, 3〉 and 〈2, 2, 3〉 | |
〈2, 3, 2〉 and 〈2, 3, 2〉 | |
〈2, 3, 2〉 and 〈2, 2, 3〉 |
Question 4 |
Given below are HTML lines,

With reference to the HTML lines given above, consider the following statements.
(i) Clicking on the point <80, 75> does not have any effect.
(ii) The web browser can identify the area applicable to the mouse-click within the image and the subsequent action to be taken without additional responses from the web server.
(iii) The dots in the cgi-bin URL will be resolved by the web browser before it is sent to the web server.
(iv) The "fd.html" request when sent to the web server will result in a GET request.
Exactly how many of the statements given above are correct?
0 | |
1 | |
2 | |
3 |
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?
HTTP, SMTP, FTP | |
FTP, HTTP, SMTP | |
HTTP, FTP, SMTP | |
SMTP, HTTP, FTP |
Question 6 |
The diagram that helps in understanding and representing user requirements for a software project using UML (Unified Modeling Language) is:
Entity Relationship Diagram | |
Deployment Diagram | |
Data Flow Diagram | |
Use Case Diagram |
Question 7 |
< dl > | |
< ul > | |
< li > | |
< ol > |
- tag defines an ordered list. An ordered list can be numerical or alphabetical.
- tag to create unordered lists.
→ The
- tag defines an unordered (bulleted) list. Use the
- tag together with the
Question 8 |
SELECT | |
Value | |
INPUT | |
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 9 |
Which of the following HTML5 codes will affect the horizontal as well as vertical alignment of the table content?
BASH | | |
BASH | | |
BASH | | |
BASH | |
• The vertical-align property sets the vertical alignment (like top, bottom, or middle) of the content in
Question 10 |
Embed web objects from different sites into the same page | |
Refresh the page automatically after a specified interval | |
Automatically redirect to another page upon download | |
Display the client time as part of the page |
Question 11 |

The number of rows in each column and the number of columns in each row are:
(2,2,3) and (2,3,2) | |
(2,2,3) and (2,2,3) | |
(2,3,2) and (2,3,2) | |
(2,3,2) and (2,2,3) |

Question 12 |
1. XML overcomes the limitations in HTML to support a structured way of organizing content
2. XML specification is not case sensitive while HTML specification is case sensitive
3. XML supports user defined tags while HTML uses pre-defined tags.
4. XML tags need not be closed while HTML tags must be closed
2 only | |
1 only | |
2 and 4 only | |
3 and 4 only |
● Both XML and HTML consists of Tags. Every open tag should consists of close tag in both languages.