Computer Knowledge
Markup and Web Languages
1,701 Questions
Test your understanding of HTML tags, XML structures, and web page creation technologies. The questions cover elements like CSS styling, parsing documents, and defining web attributes. This section is essential for candidates appearing for computer proficiency tests in various competitive exams.
HTML tags and attributesXML document parsingCSS styling levelsWeb page creation basicsBrowser compatibility
Markup and Web Languages Questions
-
src
-
alt
-
align
-
valign
-
none of the above
B
Correct answer
Explanation
It is called an alternate text and is displayed in case of image is missing.
-
Ordered list
-
Unordered list
-
Data definition list
-
Both (1) and (3)
-
None of the above
A
Correct answer
Explanation
This type of list displays elements in the form of numbers.
-
ASP.Net has XML-based components
-
ASP.Net provides user authentication
-
ASP.Net provides better language support
-
All of the above
-
Only (1) and (3)
D
Correct answer
Explanation
Yes, all the three are true about ASP .Net.
-
-author
-
-doctype
-
properties
-
-noverify
-
None of these
A
Correct answer
Explanation
The -author option causes javadoc to use the author's name in the HTML file.
-
@since
-
@author
-
@param
-
@see
-
@return
A
Correct answer
Explanation
This tag of javadoc utility states the release when a specific change was introduced.
-
Java beans
-
Java applet
-
Portable object adapter
-
OrbixWeb
-
Java server pages
E
Correct answer
Explanation
JSP are actually text files that combine standard HTML and new scripting tags.
D
Correct answer
Explanation
This tag is used to define table data cell in HTML.
B
Correct answer
Explanation
SOAP is the standard format for requesting Web services.
-
The content of a webpage can be changed dynamically using InnerHTML.
-
The id of an element can be referred by using getElement() method.
-
InnerHTML is not a part of DOM.
-
It was introduced by Microsoft.
-
It is valid for both block and inline elements.
B
Correct answer
Explanation
Each element that we want to modify dynamically must be assigned a unique id. The InnerHTML property is used along with the getElementById() method to refer to a particular element by using its id.
-
a header
-
a status line
-
a status line and a header
-
a request line
D
Correct answer
Explanation
An HTTP request message always contains a request line, which includes the HTTP method (GET, POST, etc.), the requested URI, and the HTTP version. Headers and body are optional but the request line is mandatory.
-
content type
-
content transfer
-
content Id
-
none of these
A
Correct answer
Explanation
The Content-Type field in the MIME header specifies the media type of the message body, such as text/plain or application/json. This tells the recipient how to interpret the data.
-
Param
-
Parameter
-
Pameters
-
Para
A
Correct answer
Explanation
The HTML tag used to pass parameters to applets is . This tag is nested within the tags and specifies name-value pairs.
C
Correct answer
Explanation
Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents.
-
Hypertext markup language
-
Hypotext mark language
-
High text markup languages
-
Hypertext meta language
A
Correct answer
Explanation
HTML stands for Hypertext Markup Language. It is the standard markup language for creating web pages. 'Hypertext' refers to links that connect web pages, and 'Markup Language' means it uses tags to define elements within a document. Options B, C, and D are incorrect variations.
C
Correct answer
Explanation
HTML tags are enclosed in angle brackets: < and >. This syntax is fundamental to HTML and comes from SGML (Standard Generalized Markup Language). For example,
is a paragraph tag. Curly braces {}, parentheses (), and square brackets [] are used for other purposes in programming but not for HTML tags.