General HTML Questions Page 12

Ram Pothuraju



82. Factors that affect how an HTML document looks on the monitor do not include_____.

  a)operating system
 
  b)window size
 
  c)color depth
 
  d)meta tags

ans:d

83. Every HTML document must include the tags _____.

  a)<html> </html>& <body> </body>
 
  b)<body> </body> & at least one <p>
 
  c)<html> </html> & <head> </head>

  d) <html> </html> & <title> </title>

ans:a

84. To create a link you surround the text or image with a(n) _____ tag.

   a)link
 
   b)anchor
 
   c)reference
 
   d)target

ans:b

85.  To create an HTML document all you need is a knowledge of the tags, something to say, and _____.

  a)a text editor
 
  b)a browser
 
  c)an Internet connection
 
  d)web space at a web hosting service

ans:a

86.The tag that starts a table cell is _____.

   a)<table>
 
   b)<tc>
 
   c)<td>
 
   d)<tr>

ans:c

87.Which of the following is/are true about XHTML?
 
   a) It is a new hybrid technology that is different from both XML and HTML.

   b) It has totally replaced HTML as the tool for building Web pages.

   c) It is a reformulation of HTML in XML.

   d) One cannot use it to create Web pages.

   e) It has to be converted to HTML using a style sheet.

ans:c

88. Which of the following is/are the correct way(s) to link a web page
   to an external style sheet?
 
   a) <HEAD> <LINK REL=STYLESHEET HREF="style.css" TYPE="text/css"> </HEAD>

   b) <HEAD> <LINK REL=STYLESHEET:"style.css" TYPE="text/css"> </HEAD>

   c) <HEAD> <LINK=STYLESHEET HREF="style.css" TYPE="text/css"> </HEAD>

   d) <HEAD> <LINK REL=STYLESHEET HREF="style.css:text/css"> </HEAD>
 
   e) <HEAD> <LINK REL=STYLESHEET LINK="style.css:text/css"> </HEAD>

ans:a

89. When setting text to underline, which property/properties does/do one use in
 Cascading Style Sheets?

   a) text-shadow

   b) text-decoration

   c) font-style

   d) font-variant
 
   e) text-transform

ans:b

90.Which of the following is/are (a) valid value(s) for the font-weight property?

   a) light

   b) dark

   c) heavy

   d) normal

ans:d

91.Which of the elements below are used to define contents of table cells?

   a) TD, TH

   b) TR, TD

   c) TD, TH, TR

   d) COL, TR, TD

   e) TABLE, TR, TD

ans: a

92. Which property/properties does/do one use to align text to the right side of
    a block-level element in Cascading Style Sheets?
   
   a) horizontal-align

   b) align
 
   c) block-align

   d)justify

   e)text-align

ans: e

93.In HTML, what does &nbsp; do?

   a) It inserts a line break.

   b) It inserts a space.

   c) It is the only way to insert multiple consecutive spaces.

   d) It prints a special symbol.

   e) It generates no results on an HTML page.

ans: c

94.The elements <DIV> and <SPAN> have the following characteristics.

   a) Element <DIV> inherits properties defined for <SPAN> in a stylesheet.

   b) <DIV> and <SPAN> have no real meanings as html tags unless stylesheet is applied.

   c) Elements <SPAN> and <DIV> define content to be inline or block-level.

   d) <DIV> and <SPAN> are used as alternatives for the element <P>

   e) <DIV> is used inside element <P>

ans: c



95.which of the following is used to create a list item

   a)<ul>

   b)<h1>

   c)<li>

   d)<ol>

ans:c

96.The tag <LI>

   a)is used to create a list item

   b)doesnt need a closing tag

   c)both a & b

   d)none

ans:c

97.<DL>  is used to create a

   a)definition list

   b)drop down list

   c)ordered list

   d)unordered list

ans:a

98.______ is used for creating terms for a definition list

  a)<T>

  b)<DT>

  c)<DL>

  d)<DD>

ans:b

99.<DD> is used to create

  a)definition list

  b)definitions for terms in a definition list

  c)terms in a definition list

  d)none

ans:b

100.which of the following value is not defined for a CLEAR attribute

  a)LEFT

  b)RIGHT

  c)NONE

  d)CENTRE

ans:d



PREVIOUS NEXT

Post a Comment

0Comments

Post a Comment (0)