Computer Knowledge
Markup and Web Languages
1,492 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
-
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.
-
onsuspend
-
onseeking
-
onseeked
-
onstalled
-
onwaiting
A
Correct answer
Explanation
This media event attribute is triggered when browser had started fetching media file but stopped before the entire media file was fetched.
-
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.
C
Correct answer
Explanation
By default, most web browsers display unvisited hyperlinks in blue, visited links in purple, and active links in red.
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.
-
line breaking
-
changing the colour of font
-
give the title of web page
-
X.25
A
Correct answer
Explanation
The
tag stands for Break and is used in HTML to force a single line break in the text.