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

Multiple choice
  1. <head>

  2. <h6>

  3. <heading>

  4. <h1>

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. <Table>

  2. <Group>

  3. <Data>

  4. all of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. METHOD

  2. ACTION

  3. Both (1) and (2)

  4. None of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. SGMT

  2. SGML

  3. SGMD

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

 HTML is the subset of SGML with more forgiving rules that are not followed for XHTML and XML

Multiple choice
  1. <LI>

  2. <DL>

  3. <DD>

  4. <UL>

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. <select>

  2. <value>

  3. <INPUT>

  4. <BODY>

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Document model, a specification

  2. Document object model, a parser

  3. Dom is coding style.

  4. None of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. XML

  2. SGML

  3. HTML 4.0

  4. XHTML 1.0

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The latest HTML standard is XHTML 1.0, as it is released after all the standards given are older.

Multiple choice
  1. it is a scripting language.

  2. as it contains ordinary text, symbol and markup language tags.

  3. both 1 and 2

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

As it contains ordinary text, symbol and markup language tags, HTML is not a programming language.

Multiple choice
  1. Yes

  2. No

  3. XML is not a database, it is a language

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XML cannot be used as database, as it does not contain any database functionality.

Multiple choice
  1. Title tag

  2. Head tag

  3. EM tag

  4. Form tag

Reveal answer Fill a bubble to check yourself
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.