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
B
Correct answer
Explanation
The sup tag creates superscript text, which displays characters above the normal baseline of surrounding text, commonly used for exponents, footnotes, or ordinal indicators like 1st, 2nd. The sub tag creates subscript (below normal text), u underlines, and above is not a valid HTML tag.
A
Correct answer
Explanation
The li (list item) tag denotes individual items within both ordered (ol) and unordered (ul) lists. The ol tag defines the ordered list container itself, dl is for definition lists, and ul defines unordered list containers.
C
Correct answer
Explanation
HTML files use the .html (or .htm) file extension to identify them as web documents. txt is plain text, ppt is PowerPoint, and xls is Excel - none of these are HTML markup files.
-
<underline>
-
-
<line>
-
<under>
B
Correct answer
Explanation
The u (underline) tag is used to underline text in HTML. There is no underline, under, or line tag in HTML - u is the correct element for underlining text content.
-
<h1>
-
<h6>
-
<head>
-
<heading>
A
Correct answer
Explanation
In HTML, heading tags range from h1 to h6 where h1 displays the largest text and h6 the smallest. The h1 tag is used for the main heading of a page.
-
size
-
face
-
colour
-
all of the above
D
Correct answer
Explanation
The font tag in HTML supports multiple attributes: size (1-7), face (font family), and color. All three are commonly used together to style text, though the font tag itself is now deprecated in favor of CSS.
A
Correct answer
Explanation
The a (anchor) tag is used for creating links in HTML. It uses the href attribute to specify the destination URL and can link to external pages, internal sections, files, or email addresses.
-
Tagged value
-
Note
-
Documentation
-
Secuence diagram
-
Activity diagram
A
Correct answer
Explanation
It is rendered as a string enclosed by brackets and placed below the name of another element.
C
Correct answer
Explanation
This is a line break tag used to skip a line.
-
Expressed Sequence Tags
-
Extreme Sequence Tags
-
Extended Sequence Tags
-
Excluded Sequence Tags
A
Correct answer
Explanation
EST stands for Expressed Sequence Tags - short sub-sequences of cDNA sequences that are used to identify gene transcripts. They are derived from mRNA and represent expressed portions of genes, making them valuable for gene discovery and expression analysis.
-
Only (i)
-
Only (ii)
-
Only (i) and (ii)
-
Only (i) and (iii)
-
None of these
B
Correct answer
Explanation
XML file is an ASCII text file.
-
JAXP
-
SAX
-
HTML
-
DOM
-
None of these
A
Correct answer
Explanation
Java API for XML Processing provides the flexibility to swap between XML processors with no application code change.
-
SAX
-
XML
-
XERCES
-
Both 2 and 3
-
None of these
E
Correct answer
Explanation
All the options are XML parsers.
-
notepad; internet explorer
-
internet explorer; notepad
-
chrome; notepad
-
notepad; chrome
-
notepad; opera
B
Correct answer
Explanation
Yes, it is correct. Notepad works as back end. Internet explorer works as front end.
-
JavaScript code
-
ASP.NET
-
focus() method
-
DHTML
-
Java code
B
Correct answer
Explanation
ASP.NET makes the final HTML representation in a web before the page is sent to client