HTML MCQ

1. HTML stands for?

A.Hyper Text Markup Language

B.High Text Markup Language

C.Hyper Tabular Markup Language

D.None of these

 

2. which of the following tag is used to mark a begining of paragraph ?

A. <TD>

B. <br>

C. <P>

D. <TR>

3:  From which tag descriptive list starts ?

A. <LL>

B. <DD>

C. <DL>

D. <DS>

4. Correct HTML tag for the largest heading is

A. <head>

B. <h6>

C. <heading>

D. <h1>

5. The attribute of <form> tag

A. Method

B. Action

C. Both (a) & (b)

D. None of these

6. Markup tags tell the web browser

A. How to organize the page

B. How to display the page

C. How to display message box on page

D. None of these

7. www is based on which model?

A. Local-server

B. Client-server

C. 3-tier

D. None of these

8. What are Empty elements and is it valid?

A. No, there is no such terms as Empty Element

B. Empty elements are element with no data

C. No, it is not valid to use Empty Element

D. None of these

9. Which of the following attributes of text box control allow to limit the maximum character?

A. size

B. len

C. maxlength

D. all of these

10. Web pages starts with which of the following tag?

A. <Body>

B. <Title>

C. <HTML>

D. <Form>

11. HTML is a subset of

A. SGMT

B. SGML

C. SGMD

D. None of these

12. Which of the following is a container?

A. <SELECT>

B. <BODY>

C. <INPUT>

D. Both (a) and (b)

13. Correct HTML to left align the content inside a table cell is

A. <tdleft>

B. <td raligh = "left" >

C. <td align = "left">

D. <td leftalign>

14. The tag which allows you to rest other HTML tags within the description is

A. <TH>

B. <TD>

C. <TR>

D. <CAPTION>

15. <Base> tag is designed to appear only between

A. <HEAD>

B. <TITLE>

C. <BODY>

D. <FORM>

How can you open a link in a new browser window?

A. < a href = "url" target = "new">

B. <a href = "url" target= "_blank">

C. <a href = "url".new>

D.<a href = "url" target ="open">

A much better approach to establish the base URL is to use

A. BASE element

B. HEAD element

C. both (a) and (b)

D. none of these

16.The tag used to create a new list item and also include a hyperlink is

A. <LI>

B. <DL>

C. <DD>

D. <UL>

17. Which of the tag is used to creates a number list?

A. <LI>

B. <OL>

C. <LI> and <OL>

D. None of these

 

18. <INPUT> is

A. format tag

B. empty tag

C. both (a) and (b)

D. none of these

19. The latest HTML standard is

A. XML

B. SGML

C. HTML 4.0

D. HTML 5.0

20. The text inside the <TEXT AREA> tag works like

A. <P> formatted text

B. <T> formatted text

C. <PRE> formatted text

D. none of these

21. What i s the correct HTML for adding a background color?

A. <background>yellow<Background>

B. <body color = "yellow">

C. <body bg color = "yellow">

D. <body bg ="yellow">

22. Main container for <TR>, <TD> and <TH> is

A. <TABLE>

B. <GROUP>

C. <DATA>

D. All of these

23. The body tag usually used after

A. Title tag

B. HEAD tag

C. EM tag

D. FORM tag

24. How can you make an e-mail link?

A. <mail href +"xxx@y.com">

B. <a href ="mail to: xxx@y.com">

C. <a href = "xxx@y.com">

D. Both (b) and (c)

25. Which tag creates a number/order list?

A. <UL>

B. <OL>

C. <OT>

D. None of these

26. Symbol used at the beginning of the href text is

A. #

B. $

C. &

D. ^

27. Which of the following is a Valid Name?

A. <_person>

B. <123 person>

C. Both (a) and (b)

D. None of these

 

27. How can you open a link in a new browser window?

a. <a href="url" new>

b. <a href="url" target="new">

c. <a href="url" target="_blank">

d. <a href="url" target="">

28. A webpage displays a picture. What tag was used to display that picture?
 

a. picture
b. image

c.img
d. src

 

29. <b> tag makes the enclosed text bold. What is other tag to make text bold?
 

a. <strong>
b. <dar>
c. <black>
d. <emp>

30. Tags and text that are not directly displayed on the page are written in _____ section.
 

a. <html>
b. <head>
c. <title>
d. <body>

 

31. Which tag inserts a line horizontally on your web page?
 

a. <hr>
b. <line>
c. <line direction="horizontal">
d. <tr>

32. What should be the first tag in any HTML document?


a. <head>
b. <title>

c. <html>
d. <document>

 

33. Which tag allows you to add a row in a table?
 

a. <td> and </td>
b. <cr> and </cr>
c. <th> and </th>

d. <tr> and </tr>

 

34. What is the correct HTML tag for inserting a line break?
a. <br>
b. <lb>
c. <break>
d. <newline>

35. Which tag creates a check box for a form in HTML?
a. <checkbox>

b. <input type="checkbox">
c. <input=checkbox>
d. <input checkbox>

36. To create a combo box (drop down box) which tag will you use?

a. <select>
b. <list>
c. <input type="dropdown">
d. all of above

37. Which of the following is not a pair tag?
a. <p>
b. < u >
c. <i>

d. <img>


38. HTML documents are saved in
a. Special binary format
b. Machine language codes

c. ASCII text
d. None of above


39. There are ____ different of heading tags in HTML
a. 4
b. 5

c. 6
d. 7

40. Which of the following is not a style tag?
a. <b>
b. <tt>
c. <i>

d. All of above are style tags

41. The way the browser displays the object can be modified by _____
a. attributes
b. parameters
c. modifiers
d. None of above

42. Which of the following HTML code is valid?
a. <font colour="red">

b. <font color="red">
c. <red><font>
d. All of above are style tags

43. <b> tag makes the enclosed text bold. What is other tag to make text bold?
a. <strong>
b. <dar>
c. <black>
d. <emp>

44. Tags and test that are not directly displayed on the page are written in _____ section.
a. <html>

b. <head>
c. <title>
d. <body>

45. Which tag inserts a line horizontally on your web page?

a. <hr>
b. <line>
c. <line direction="horizontal">
d. <tr>

46. What should be the first tag in any HTML document?
a. <head>
b. <title>

c. <html>
d. <document>

47. Which tag allows you to add a row in a table?
a. <td> and </td>
b. <cr> and </cr>
c. <th> and </th>

d. <tr> and </tr>

48. HTML document start and end with which tag pairs?
a. <HEAD>….</HEAD>
b. <BODY>….</BODY>

c. <HTML>….</HTML>
d. <WEB>….</WEB>

49. In Satellite based communication, VSAT stands for?
a. Very Small Aperture Terminal
b. Varying Size Aperture Terminal
c. Very Small Analog Terminal
d. None of the above

50. Outlook Express is a _________

a. E-Mail Client
b. Browser
c. SearchEngine
d. None of the above

51. Text within <EM> … </EM> tag is displayed as ________
a. bold

b. italic
c. list
d. indented

52. Text within <STRONG> … </STRONG> tag is displayed as ________

a. bold
b. italic
c. listd

d. indented

53. Which tag is used to display the large font size?
a. <LARGE></LARGE>

b. <BIG></BIG>
c. < SIZE ></SIZE>
d. <FONT></FONT>

54. <SCRIPT> … </SCRIPT> tag can be placed within ________
a. Header
b. Body

c. both A and B
d. none of the above

55. using <P> tag will

a. start a new paragraph
b. break the line
c. end the current paragraph
d. none of the above

56. What is Internet Explorer?
a. An Icon
b. A File Manager

c. A Browser
d. The Internet

57. What is an ISP?
a.Internet System Protocol
b.Internal System Program

c. Internet Service Provider
d. None of the above

58. Which of the following is valid IP address?
a. 984.12.787.76
b. 192.168.321.10
c. 1.888.234.3456

d. 192.168.56.115

59. Which is not a domain name extension
a. mil
b. org

c. .int
d. .com

60. What is a FTP program used for?

a. Transfer files to and from an Internet Server
b. Designing a website
c. Connecting to the internet
d. None of the above

61. Choose the correct HTML tag for the largest heading?
a. <H1>
b. <H6>
c. <H10>
d. <HEAD>

62. Output of XML document can be viewed in a
a. Word Processor

b. Web browser
c. Notepad
d. None of the above