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

Multiple choice
  1. Java Script

  2. ASP Script

  3. VB Script

  4. None of these

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

JavaScript is the universal default scripting language for client-side web development. It runs natively in all browsers. ASP Script is server-side (classic ASP). VBScript only worked in Internet Explorer and is now obsolete. JavaScript remains the standard for client-side interactivity.

Multiple choice
  1. No

  2. Yes

  3. Sometimes

  4. Can't be determined

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

ADO.NET uses XML extensively for data representation and serialization. The DataSet class can read and write XML, and XML is used for interoperability between different systems. XML is integral to disconnected data access in ADO.NET.

Multiple choice
  1. Embed web objects from different sites into the same page

  2. Refresh the page automatically after a specified interval

  3. Automatically redirect to another page upon download

  4. Display the client time as part of the page

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

Pure HTML without JavaScript cannot dynamically display or manipulate client-side data like the current time. HTML can embed objects from other sites (iframe element), auto-refresh (meta http-equiv='refresh'), and auto-redirect (meta refresh), but displaying the client's current time requires client-side scripting like JavaScript.

Multiple choice
  1. how to organize the page

  2. how to display the page

  3. how to display message box on page

  4. none of these

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

How to display the page, as we use markup language it tells browser to display the page as per the markup tags, which is the main goal of HTML and not to describe or organize the page. To organize the page i.e. for describing the contents we use XML and obviously to display message box on page we use tags but the entire markup tags do not have only one functionality.

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.