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
-
The sed editor is an UNIX editor.
-
The * metacharacter stands for any single character.
-
The xterm does not offer any specific menu option for copying or moving the text from one xterm window to another.
-
All of the above are true
B
Correct answer
Explanation
This is a false statement. * is a special character used by the system to indicate that it can match a number of filesnames.
-
Hyper Text Mail Language
-
Hyper Text Markup Language
-
Holy Text Markup Language
-
Hyper Text Markup Locator
B
Correct answer
Explanation
HTML stands for Hyper Text Markup Language. It is the standard markup language for documents designed to be displayed in a web browser.
-
Huge Text Makeup Language
-
High Terrain Makeup Language.
-
Hyper Text Markup Language.
-
High-code Terrain Makeup Language.
C
Correct answer
Explanation
HTML stands for Hyper Text Markup Language. It is the standard markup language for documents designed to be displayed in a web browser.
-
createTextNode
-
createElement
-
setAttribute
-
appendChild
-
removeChild
B
Correct answer
Explanation
This method in DOM allows you to create a new element node and takes a single argument which is the tag name of the element that you want to create.
-
AJAX
-
JavaScript
-
DOM
-
C
-
HTML
C
Correct answer
Explanation
DOM stands for Document Object Model. This model is a hierarchy of parent and child objects supported by JavaScript in which objects are organised into a tree-like structure.
-
nav
-
article
-
aside
-
section
-
hgroup
D
Correct answer
Explanation
This element of HTML5 is used to define a generic section of a document or application.
-
Sarissa
-
DB2 XML Extender
-
Script.aculo.us
-
SQL/XML
-
AJAX
C
Correct answer
Explanation
This is an MIT licensed JavaScript library that provides visual effects, drag-and-drop support and controls to HTML pages.
-
onafterprint
-
onbeforeprint
-
onblur
-
onfocus
-
onload
C
Correct answer
Explanation
This event attribute in HTML5 is used when the element loses focus.
-
autoplay
-
loop
-
controls
-
preload
-
buffered()
C
Correct answer
Explanation
This boolean attribute is used with audio element in HTML to specify if the browser should display its default media controls (such as a play/pause button etc).
-
Draggable
-
Hidden
-
lang
-
Accesskey
-
style
B
Correct answer
Explanation
This attribute in HTML5 indicates that the element is no longer relevant.
-
datalist
-
keygen
-
output
-
autocomplete
-
autofocus
B
Correct answer
Explanation
This element in HTML5 specifies a key-pair generator field in a form.
The purpose of the element is to provide a secure way to authenticate users.
When the form is submitted, two keys are generated, one private and one public.
The private key is stored locally and the public key is sent to the server.
-
Insert Horizontal Line
-
Bold effect
-
Underline Text
-
W3C
A
Correct answer
Explanation
The HR tag stands for Horizontal Rule, which is used in HTML to insert a horizontal line across the page to separate content sections.
-
<TITLE>
-
<BODY>
-
<HEAD>
-
<HTML>
D
Correct answer
Explanation
An HTML document is defined by the opening tag, which acts as the root element for the entire page structure.
A
Correct answer
Explanation
The tag is used within the section of an HTML document to define the title that appears in the browser tab or window title bar.