Q.1. Which following HTML file name is not correct?
- mistakeName.html
- 100%Correct.html
- wrong_Name.html
- error100percent.html
Answer : 100%Correct.html
Q.2. Which following tag is not HTML tag?
- <a>
- <b>
- <c>
- <dd>
Answer : <c>
Q.3. HTML comment identifier is _______?
- /* */
- <!- – – ->
- //……
- #……
Answer : <!- – – ->
Q.4. The Character Set _______ is used for Multi-lingual Universal Transformation Format.
- US-ASCII
- SHIFT_JIS
- ISO-8859-1
- UTF-8
Answer : UTF-8
Q.5. Which <meta> tag is use for SEO strategy, so that the web page can be searched easier by search engine?
- <meta name = “keyword” content = “…”>
- <meta name = “author” content = “…”>
- <meta name = “identifier” content = “…”>
- <meta name = “description” content = “…”>
Answer :<meta name = “keyword” content = “…”>
Q.6 In case the browser does not recognize JavaScript, which following tags can be used in HTML document?
- <script> </script>
- <javascript> </javascript>
- <noscript> </noscript>
- <nojavascript> </nojavascript>
Answer :<noscript> </noscript>
Q.7. Which following code is correct to set background color?
- <body color=”#FFFFFF”>
- <body bg_color=”#FFFFFF”>
- <body background=”#FFFFFF”>
- <body bgcolor=”#FFFFFF”>
Answer :<body bgcolor=”#FFFFFF”>
Q.8. Which following tag belongs to <ruby> </ruby> as an annotation?
- <rt> </rt>
- <rb> </rb>
- <rd> </rd>
- <rg> </rg>
Answer :<rt> </rt>
Q.9. Which following code is not correct?
- .text { font-family: arial; }
- .text { font-size:14pt; }
- .text { font-color: green;}
- .text { font-style:italic; }
Answer :.text { font-color: green;}
Q.10. Which following code is not correct about “button” property?
- type = “submit”;
- type = “click”;
- type = “button”;
- type = “reset”;
Answer :type = “click”;
Q.11. Which following code is correct?
- <head><title> text </head></title>
- <title><head> text </title></head>
- <head><title> text </title></head>
- <title><head> text </head></title>
Answer :<head><title> text </title></head>
Q.12. What is the output according to following code?
<html>
<body>
<em> Hallo! </em>
</body>
</html>
- Hallo!
- Hallo!
- Hallo!
- Hallo!
Answer :Hallo!
Q.13. Which following code is not correct?
- <div align = “left”>…</div>
- <div align = “right”>…</div>
- <div align = “justify”>…</div>
- <div align = “middle”>…</div>
Answer :<div align = “middle”>…</div>
Q.14. CSS can be added to the head section of an HTML document between_________ tags.
- <css> </css>
- <style> </style>
- <script></script>
- <stylesheet> </stylesheet>
Answer :<style> </style>
Q.15. Which following can open an open a web page in a new window?
- _blank
- _top
- _self
- _parent
Answer :_blank
Q.16. In html document, ______tags can insert a gif animation.
- <animation>
- <movies>
- <gif>
- <img>
Answer :<img>
Q.17. About <hr size= “6” color=”#000000″ width=”80%”>, Which following statement is correct?
- the size means the length of horizon line.
- the size means the width of horizon line.
- the width means the length of horizon line.
- the width means the width of horizon line.
Answer :the size means the width of horizon line.
Q.18. Which following code is correct about the hyperlink?
- <a hyperlink = “url”> </a>
- <a link = “url”> </a>
- <a href = “url”> </a>
- <a herf = “url”> </a>
Answer :<a href = “url”> </a>
Q.19. Which following code represents “white”?
- #000000
- #BBBBBB
- #CCCCCC
- #FFFFFF
Answer :#FFFFFF
Q.20. Superscript can be included using ______ tag.
- <sup>
- <sub>
- <super>
- <suber>
Answer : <sup>
Q.21. Which tag is used to enter line break?
- <enter>
- <p>
- <br>
- <break>
Answer :<br>
Q.22. What results will be shown according to following code?
<HTML> <body> <marquee scrolldelay=”180″ direction=”right”>Welcome!</marquee> </body> </HTML>
- show rolling text “Welcome!” from left to right
- show rolling text “Welcome!” from right to left.
- show rolling text “Welcome!” from up to down.
- show rolling text “Welcome!” from down to up.
Answer : show rolling text “Welcome!” from left to right
Q.23. Which following statement is correct?
- <p> tag must end with </p> tag.
- <br> tag must end with </br> tag.
- <hr> tag must end with </hr> tag.
- <i> tag must end with </i> tag.
Answer :<i> tag must end with </i> tag.
Q.24. Which image format is not used for web?
- gif
- tiff
- jpg
- png
Answer : tiff
Q.25. “MIME Type” of a form can be set as_______?
- form
- text/script
- text/plain
- text/css
Answer :text/plain
Q.26. Want to hide the border of a table, you can set the value of border_____ px.
- 0
- 1
- 2
- 3
Answer :0
Q.27. ______ is a client-side language; its interpreter is embedded in a web browser.
- PHP
- JSP
- ASP
- JavaScript
Answer :JavaScript
Q.28. In HTML, the maximum value of <font>’s size is_________.
- 5
- 6
- 7
- 8
Answer : 7
Q.29. The ________ tag defines preformatted text.
- <preview>
- <pre>
- <previous>
- <present>
Answer :<pre>
Q.30. ________ regards any element as an object in DHTML.
- OOP
- Document
- Object
- DOM
Answer : DOM
Q.31. Which following code is not CSS style?
- <css style = “attribute: value”>……</css>
- <tag style = “attribute: value”>……</tag>
- <style type = “text/css”>……</style>
- <link rel = “stylesheet” type = “text/css” title = “External File” href = “myStyle.css” >
Answer :<css style = “attribute: value”>……</css>
Q.32. The URL of Secure Sockets Layer (SSL) begins with _____.
- HTTP://
- HTTPS://
- URL://
- SSL://
Answer :HTTPS://
Q.33. _______ tag is used to set a hyperlink.
- <link>
- <hyperlink>
- <herf>
- <a>
Answer :<a>
Q.34. Which following tag is used to name a web page?
- <name>
- <caption>
- <title>
- <heading>
Answer : <title>
Q.35. If you use a photo as a background of a web page, you may use______.
- <body background=“bg.jpg”>
- <body bgphoto=“bg.jpg”>
- <body bgimage=“bg.jpg”>
- <body bgcolor=“bg.jpg”>
Answer :<body background=“bg.jpg”>
Q.36. Which following hyperlink with image is correct?
- <a href = ”http://www.myWeb.com”>myImage.jpg</a>
- <a href = ”http://www.myWeb.com”><img src = ”myImage.jpg”></a>
- <img src=”myImage.jpg”> <a href = ”http://www.myWeb.com”> </a>
- <a href = http://www.myWeb.com><img src=”myImage.jpg”>
Answer :<a href = ”http://www.myWeb.com”><img src = ”myImage.jpg”></a>
Q.37. Which following tag is used to define a cell?
- <cell>…</cell>
- <tr>…</tr>
- <table>…</table>
- <td>…</td>
Answer :<td>…</td>
Q.38. Which following code is correct to set the width of the text box?
- <input type = “text” length = “12”>
- <input type = “text” maximum = “12”>
- <input type = “text” size = “12”>
- <input type = “text” maxlength = “12”>
Answer :<input type = “text” size = “12”>
Q.39. Which following code is correct to set an anchor?
- <a href = “#anchorName”> Top of Page </a>
- <a href = “anchorName”> Top of Page </a>
- <a anchor = “#anchorName”> Top of Page </a>
- <a herf = “#anchorName”> Top of Page </a>
Answer :<a href = “#anchorName”> Top of Page </a>
Q.40. Which following code can embed a video?
- <source embed = “video.mp4” type = “video/mp4”>
- <source src = “video.mp4” type = “video/mp4”>
- <source import = “video.mp4” type = “video/mp4”>
- <source name = “video.mp4” type = “video/mp4”>
Answer :<source src = “video.mp4” type = “video/mp4”>
Q.41. Which following tag can make a text rolling?
- <scroll>
- <roll>
- <move>
- <marquee>
Answer :<marquee>
Q.42. Which line is not correct?
<html>
<head> line 1
script> line 2
var abcd;
alert( abcd ); line 3
</script>
</head>
</html> line 4
- line 1
- line 2
- line 3
- line 4
Answer :line 3
Q.43. What is the output according to the following code?
<html>
<del> Text Sample </del>
<html>
Text Sample- Text Sample
- Text Sample
- Text Sample
Answer : Text Sample
Q.44. A correct email link is _________.
- <a href=“mail:recipient@yahoo.com“>Email</a>
- <a href=“email:recipient@yahoo.com”> Email </a>
- <a href=“mailto:recipient@yahoo.com”> Email </a>
- <a href=“emailto:recipient@yahoo.com”> Email </a>
Answer :<a href=“mailto:recipient@yahoo.com”> Email </a>
Q.45. Which following code is correct external style CSS?
- <style rel=”stylesheet” type=”text/css” href=”mystyle.css”>
- <import rel=”stylesheet” type=”text/css” href=”mystyle.css”>
- <link rel=”stylesheet” type=”text/css” src=”mystyle.css”>
- <link rel=”stylesheet” type=”text/css” href=”mystyle.css”>
Answer :<link rel=”stylesheet” type=”text/css” href=”mystyle.css”>
Q.46. _______ can go to a specific anchor “myAnchor” of a page
- <a link=”#myAnchor”> … </a>
- <a href=”#myAnchor”> … </a>
- <a href=”myAnchor”> … </a>
- <a anchor=”myAnchor”> … </a>
Answer :<a href=”#myAnchor”> … </a>