• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

HTML and XML

Question 21

Which of the following is TRUE only for XML but NOT HTML?
  • It is derived from SGML
  • It describes content and layout
  • It allows user defined tags
  • It is restricted only to be used with web browsers

Question 22

To add a background color for all h1 elements, which of the following HTML syntax is used
  • h1 { background-color :#FFFFFF}
  • { background-color :#FFFFFF} . h1
  • h1 { background-color :#FFFFFF} . h1(all)
  • h1. all{bgcolor= #FFFFFF}

Question 23

To declare the version of XML, the correct syntax is
  • <*xml version=\'1.0\'/>

Question 24

Which of the following tag in HTML is used to surround information, such as signature of the person who created the page ?
  • / /g, ">"
  • <address> </address>

Question 25

Which of the following statements is not correct?
  • HTML is not screen precise formatting language.
  • HTML does not specify a logic.
  • DHTML is used for developing highly interactive web pages.
  • HTML is a programming language.

Question 26

Which of the following statements are true with reference to the way of describing XML data? (a)XML uses DTD to describe the data (b)XML uses XSL to describe the data (c)XML uses a description node to describe the data Codes:
  • (a) only
  • (b) only
  • (a) and (b)
  • (a) and (c)

Question 27

In HTML, which of the following can be considered a container?
  • SELECT
  • Value
  • INPUT
  • BODY

Question 28

__________ tag is an extension to HTML that can enclose any number of Javascript statements.
  • < SCRIPT >
  • < BODY >
  • < HEAD> >
  • < TITLE >

Question 29

In XML we can specify the frequency of an element by using the symbols:
  • + * !
  • # * !
  • +* ?
  • - * ?

Question 30

In XML, DOCTYPE declaration specifies to include a reference to __________ file.
  • Document type Definition
  • Document type declaration
  • Document transfer definition
  • Document type language

There are 33 questions to complete.

Last Updated :
Take a part in the ongoing discussion