Select chapter



basics (2.papers)

Sponsored Links


  

html basics interview questions and answers

1
Which of the following tag used to create a paragraph in HTML ?
  1. <p> </p>
  2. <Paragraph></Paragraph>
  3. <Pointer></Pointer>
  4. None of the above.
Show Answer
Share Facebook gmail Twitter
2
Which of the following tag is used in HTML for writing javascript code.
  1. <javascript type="text/Javascript"></javascript>
  2. <js type="text/javascript"></js>
  3. <script language="javascript"></script>
  4. <jscript></jscript>
Show Answer
Share Facebook gmail Twitter
3
How to link an external style sheet to  html pages ?
  1. <stylesheet rel="stylesheet" type="text/css" href="theme.css"><stylesheet>
  2. <link rel="stylesheet" type="text/css" href="theme.css"></link>
  3. <css rel="stylesheet" type="text/css" href="theme.css"></css>
  4. <link rel="stylesheet" type="text/css" href="theme.css">
Show Answer
Share Facebook gmail Twitter
4
Which of the following is the correct syntax for linking an external javascript file to the current html document ?
  1. <script type="text/javascript" src="external_js_file_name.js"></script>
    
  2. <link type="text/javascript" src="external_js_file_name.js"></link>
    
  3. <a href="external_js_file_name.js"></a>
  4. None of the above.
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
6
Which of the following tag creates italic letters in HTML?
  1. <i></i>
  2. <italic></italic>
  3. <it></it>
  4. <ir></ir>
Show Answer
Share Facebook gmail Twitter
7
Which tag used for strking the text in HTML?
  1. <strike></strike>
  2. <sr></sr>
  3. <s></s>
  4. <strike-text></strike-text>
Show Answer
Share Facebook gmail Twitter
8
How to change the font color in HTML?
  1. <font-color>"Color-name"</font-color>
  2. <font color="color-name"></font>
  3. <fcolor color="color-name"></fcolor>
  4. <font>color="color-name"</font>
Show Answer
Share Facebook gmail Twitter
9
How to resize an image in HTML?
  1. with <resize> tag .
  2. by setting height and width for image .
  3. by using resize property .
  4. can not be resized .
Show Answer
Share Facebook gmail Twitter
10
Which of the following syntax used for creating comments in HTML ?
  1. //write comment here
  2. /* comment here */
  3. <!-- comment here -->
  4. /** comment here */
Show Answer
Share Facebook gmail Twitter
11
What is the use of iframe in HTML ?
  1. Creating grid view .
  2. Redirecting to a new web page .
  3. Displaying a webpage within a webpage .
  4. Opening a new tab .
Show Answer
Share Facebook gmail Twitter
12
Which is the correct set of headings available in HTML?
  1. <h0> to <h5>
  2. <h1> to <h7>
  3. <h1> to <h10>
  4. <h1> to <h6>
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
14
Vlink attribute inside a body tag represnets the color of _____?
  1. Vertical Link
  2. Visited Link
  3. Vibrant Link
  4. Virtual Link
Show Answer
Share Facebook gmail Twitter
15
Alink attribute of body tag represents the color of____?
  1. Active Link
  2. Actual Link
  3. Above Link
  4. Attribute Link
Show Answer
Share Facebook gmail Twitter
16
Which of the following browser integral component checks HTML code ?
  1. CLR .
  2. HTML Compiler .
  3. HTML Parser .
  4. ASP.Net Compiler
Show Answer
Share Facebook gmail Twitter
17
Which of the following tag used for displaying title of an html document ?
  1. <head></head>
  2. <tab></tab>
  3. <title></title>
  4. <page></page>
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
19
Which of the following statement is incorrect about including javascript code in html document ?
  1. javascript code must not be written in body tag .
  2. javascript code must not be written in head tag .
  3. javascript code must not be written after body end tag and before html closing tag .
  4. None of the above.
Show Answer
Share Facebook gmail Twitter
20
How to hide javascript code In a webpage ?
  1. There is no way of hiding javascript code .
  2. Javascript code can be hidden by pushing all javascript code into external javascript file.
  3. write all javascript code in body section of html document .
  4. None of the above.
Show Answer
Share Facebook gmail Twitter
Read more papers :