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)?

A
Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP connection to server S
B
Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is sufficient
C
A single HTTP request from Q to S is sufficient, and a single TCP connection between Q and S is necessary for this
D
A single HTTP request from Q to S is sufficient, and this is possible without any TCP connection between Q and S
       Web-Technologies       HTML       GATE 2014 [Set-2]
Question 1 Explanation: 
By default, HTTP is a persistent connection.
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?

A
Embed web objects from different sites into the same page
B
Refresh the page automatically after a specified interval
C
Automatically redirect to another page upon download
D
Display the client time as part of the page
       Web-Technologies       HTML       GATE 2011
Question 2 Explanation: 
Note: Out of syllabus.
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:

A
〈2, 2, 3〉 and 〈2, 3, 2〉
B
〈2, 2, 3〉 and 〈2, 2, 3〉
C
〈2, 3, 2〉 and 〈2, 3, 2〉
D
〈2, 3, 2〉 and 〈2, 2, 3〉
       Web-Technologies       HTML       GATE 2009
Question 3 Explanation: 
Note: Out of syllabus. [Web Technologies]
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?

A
0
B
1
C
2
D
3
       Web-Technologies       HTML       GATE 2007-IT
Question 4 Explanation: 
Note: Out of syllabus.
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
       HTML       HTML       GATE 2005-IT
Question 5 Explanation: 
Note: Out of syllabus.
Question 6

The diagram that helps in understanding and representing user requirements for a software project using UML (Unified Modeling Language) is:

A
Entity Relationship Diagram
B
Deployment Diagram
C
Data Flow Diagram
D
Use Case Diagram
       Software-Engineering       HTML       GATE 2004-IT
Question 6 Explanation: 
Note: Out of syllabus.
Question 7
Choose the most appropriate HTML tag in the following to create a numbered lists.
A
< dl >
B
< ul >
C
< li >
D
< ol >
       Web-Technologies       HTML       ISRO-2017 May       Video-Explanation
Question 7 Explanation: 
→ The
    tag defines an ordered list. An ordered list can be numerical or alphabetical.
    → The
      tag defines an unordered (bulleted) list. Use the
        tag together with the
      • tag to create unordered lists.
Question 8
In HTML, which of the following can be considered a container?
A
SELECT
B
Value
C
INPUT
D
BODY
       HTML       HTML       ISRO CS 2011
Question 8 Explanation: 
→ A container tag in HTML is one which has both opening and closing tags.
→ 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?

A
BASH
B
BASH
C
BASH
D
BASH
       Webtechnologies       HTML       UGC-NET CS 2018 DEC Paper-2
Question 9 Explanation: 
• The text-align property sets the horizontal alignment (like left, right, or center) of the content in or .
• The vertical-align property sets the vertical alignment (like top, bottom, or middle) of the content in or .
Question 10
HTML(Hypertext Markup language) has language elements which permit certain actions other than describing the structure of the web document. Which of the following actions is NOT supported by pure HTML(Without any server or client side scripting) pages?
A
Embed web objects from different sites into the same page
B
Refresh the page automatically after a specified interval
C
Automatically redirect to another page upon download
D
Display the client time as part of the page
       Web-Technologies       HTML       Nielit Scientist-B IT 22-07-2017
Question 10 Explanation: 
We can achieve first three options by using HTML(static web pages). But to display the client time alone HTML is not sufficient , We require Java Script.
Question 11
Consider the HTML table definition given below":

The number of rows in each column and the number of columns in each row are:
A
(2,2,3) and (2,3,2)
B
(2,2,3) and (2,2,3)
C
(2,3,2) and (2,3,2)
D
(2,3,2) and (2,2,3)
       Web-Technologies       HTML       Nielit Scientist-B IT 22-07-2017
Question 11 Explanation: 
If you create HTML page with the above code,we will get table structure as below
Question 12
Which of the following statements is/are False?
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
A
2 only
B
1 only
C
2 and 4 only
D
3 and 4 only
       Web-Technologies       HTML       Nielit Scientist-B IT 22-07-2017
Question 12 Explanation: 
● Both XML and HTML languages are case sensitive.
● Both XML and HTML consists of Tags. Every open tag should consists of close tag in both languages.
There are 12 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access