HTML

Question 1

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
Question 1 Explanation: 
Note: Out of syllabus.
Question 2

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 2 Explanation: 
Note: Out of syllabus.
Question 3

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
Question 3 Explanation: 
Note: Out of syllabus.
Question 4
In a web server, ten Web Pages are stored with the URLs of the form http://www.yourname.com/var.html; where, var is a different number from 1 to 10 for each Webpage. Suppose, the client stores the Webpage with var = 1 (say W1) in local machine, edits and then tests. Rest of the Web Pages remains on the web server. W1 contains several relative URLs of the form “var.html” referring to the other Web Pages. Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate Web Pages on the web server?
A
<a.href: “http://www.yourname.com/”, href: “...var.html”>
B
<base href: “http://www.yourname.com/”>
C
<a.href: “http://www.yourname.com/”>
D
<base href: “http://www.yourname.com/”, range: “...var.html”>
Question 5

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〉
Question 5 Explanation: 
Note: Out of syllabus. [Web Technologies]
Question 6

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
Question 6 Explanation: 
Note: Out of syllabus.
Question 7

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
Question 7 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 8
In HTML, < map > tag is used for
A
defining a path between two nodes in an image
B
defining clickable region in an image
C
highlighting an area in an image
D
defining the site-map of a web-site
Question 8 Explanation: 
The HTML < map > element is used with < area > elements to define an image map (a clickable link area).
Question 9
The default character encoding in HTML5 is ______.
A
UTF-16
B
UTF-32
C
UTF-8
D
ISO-8859-1
Question 9 Explanation: 
For HTML5, the default character encoding is UTF-8.
This has not always been the case. The character encoding for the early web was ASCII.
Question 10
What does < main > include?
A
Header
B
Sidebar
C
Article
D
Footer
Question 10 Explanation: 
Answer can be option A also. Main tag contains the content that is main and unique to the document and is not repeated such as sidebar etc. Header can be in the main tag.
Question 11
Adding the style attributes in HTML elements, is known to be ______.
A
Internal
B
Inline
C
Outline
D
External
Question 11 Explanation: 
CSS can be added to HTML documents in 3 ways:
Inline - by using the style attribute inside HTML elements
Internal - by using a < style > element in the < head > section
External - by using a < link > element to link to an external CSS file
The most common way to add CSS, is to keep the styles in external CSS files.
Question 12
Which of the following statements is not correct?
A
HTML is not screen precise formatting language.
B
HTML does not specify a logic.
C
DHTML is used for developing highly interactive web pages.
D
HTML is a programming language.
Question 12 Explanation: 
HTML is not a programming language. It is a markup language. The abbreviation of HTML is hypertext markup language.
Question 13

What are tags used for?

A
To replace paragraph i.e., p tags
B
To logically divide the paragraphs
C
To logically divide the document
D
To provide space between tables
There are 13 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