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
-
<head>
-
<h6>
-
<heading>
-
<h1>
D
Correct answer
Explanation
<h1>The <h1> tag is the tag used for the largest heading from heading tags <h1> to <h6> whereas, <h6> tag is used from the smallest heading and <head> tag is used to display the header of the pages on browser while <heading> tag does not have any functionality.
-
<Table>
-
<Group>
-
<Data>
-
all of these
A
Correct answer
Explanation
TableThe , , and tags are used to create row, add data into table and to give heading for a table respectively. Whereas, and are not containers for these tags because these tags are specially used for creating and editing table data.
-
METHOD
-
ACTION
-
Both (1) and (2)
-
None of these
C
Correct answer
Explanation
The <Form> tag is container tag, which has different attributes like METHOD and ACTION. Method can be 'Get' or 'Post' and Action attribute gives the address of the script that will process the form. Where ACTION tag is required attribute, whereas METHOD is optional attribute.
-
SGMT
-
SGML
-
SGMD
-
None of these
B
Correct answer
Explanation
HTML is the subset of SGML with more forgiving rules that are not followed for XHTML and XML
A
Correct answer
Explanation
By using <LI> tag you can add links to lists and tables. Each list item or table entry can serve as a link to a different page, FTP site so on. Whereas <UL> tag is used for unordered list, <DD> and <DL> is used to create a glossary list.
-
Web browser
-
HTML
-
Internet explorer
-
none of these
A
Correct answer
Explanation
Web Browser allows programmers to use these all features.
-
<select>
-
<value>
-
<INPUT>
-
<BODY>
A
Correct answer
Explanation
The select tag is the container tag, we use <SELECT> ……. </SELECT> tags to create a pull-down menu inside a form. To create a pull-down menu we insert the <SELECT> tags between the <Form> tags. Whereas <Body> tag is used to display the body or matter on the page and <INPUT> and <VALUE> tags are not container tags.
-
Document model, a specification
-
Document object model, a parser
-
Dom is coding style.
-
None of these
B
Correct answer
Explanation
DOM is a parser. XML parsers, also called as XML processors provide a standard API to navigate and manipulate XML documents and it is not a specification or a coding style.
-
XML
-
SGML
-
HTML 4.0
-
XHTML 1.0
D
Correct answer
Explanation
The latest HTML standard is XHTML 1.0, as it is released after all the standards given are older.
-
it is a scripting language.
-
as it contains ordinary text, symbol and markup language tags.
-
both 1 and 2
-
none of these
B
Correct answer
Explanation
As it contains ordinary text, symbol and markup language tags, HTML is not a programming language.
-
Yes
-
No
-
XML is not a database, it is a language
-
None of these
B
Correct answer
Explanation
XML cannot be used as database, as it does not contain any database functionality.
-
Title tag
-
Head tag
-
EM tag
-
Form tag
B
Correct answer
Explanation
The Body tag is usually used after Head tag because Head tag is used for Header after header, then comes Body.
-
heading
-
paragraph
-
list
-
all of these
D
Correct answer
Explanation
The heading, paragraph and list, all these are the common elements to describe the webpage.
-
No
-
Yes
-
They are browser dependent.
-
None of these.
B
Correct answer
Explanation
Yet they are case- sensitive. The tags elements in XML are case - sensitive and they are browser independent.
-
One
-
Two
-
Three
-
As many as the memory provides
A
Correct answer
Explanation
An XML document can have only one root element called as document element.