HTML

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

1. What is HTML?

a) HTML describes the structure of a webpage


b) HTML is the standard markup language mainly used to create web
pages
c) HTML consists of a set of elements that helps the browser how to view
the content
d) All of the mentioned

2. HTML stands for __________


a) HyperText Markup Language
b) HyperText Machine Language
c) HyperText Marking Language
d) HighText Marking Language

3. 5. Which of the following is used to read an HTML page and render


it?
a) Web server
b) Web network
c) Web browser
d) Web matrix

4. Which of the following tag is used for inserting the largest heading
in HTML?
a) head
b) <h1>
c) <h6>
d) heading

5. Which of the following elements in HTML5 defines video or movie


content?
a) <video>
b) <movie>
c) <audio>
d) <media>

6. Which HTML tag is used for making character appearance bold?


a) <u>content</u>
b) <b>content</b>
c) <br>content</br>
d) <i>content</i>
7. Which HTML tag is used to insert an image?
a) <img url=”htmllogo.jpg” />
b) <img alt=”htmllogo.jpg” />
c) <img src=”htmllogo.jpg” />
d) <img link=”htmllogo.jpg” />

8. Which character is used to represent when a tag is closed in HTML?


a) #
b) !
c) /
d) \

9. Among the following, which is the HTML paragraph tag?


a) <p>
b) <pre>
c) <hr>
d) <a>

10. Which of the following HTML tag is used to create an unordered list?
a) <ol>
b) <ul>
c) <li>
d) <ll>

11. Which of the following HTML tag is used to add a row in a table?
a) <th>
b) <td>
c) <tr>
d) <tt>

12. Which of the following tag is used to create a text area in HTML
Form?
a) <textarea> </textarea>
b) <text></text>
c) <input type=”text” />
d) <input type=”textarea” />

13. Which tag is used to create a dropdown in HTML Form?


a) <input>
b) <select>
c) <text>
d) <textarea>
14. Which tag is used to create a dropdown in HTML Form?
a) <input>
b) <select>
c) <text>
d) <textarea>

15. How to create a checkbox in HTML Form?


a) <input type=”text”>
b) <input type=”textarea”>
c) <input type=”checkbox”>
d) <input type=”button”>

16. Which of the following extension is used to save an HTML file?


a) .hl
b) .h
c) .htl
d) .html

17. Which HTML tag is used to convert the plain text into italic format?
a) <b>
b) <p>
c) <i>
d) <a>

18. Which attribute is not essential under <iframe>?


a) frameborder
b) width
c) height
d) src

19. Which tag is used to underline the text in HTML?


a) <p>
b) <u>
c) <i>
d) <ul>

20. Which HTML element is used for YouTube videos?


a) <samp>
b) <small>
c) <frame>
d) <iframe>

21. For adding caption to the table we use ____________


a) <caption>
b) <thead>
c) <th>
d) <tr>

22. State whether the given statement is true or false. !DOCTYPE is case
sensitive”.
a) True
b) False

23. To create HTML document you require a


A. web page editing software
B. High powered computer
C. Just a notepad can be used Download more sets at McqMate.com
D. None of above
24. ALL HTML tags are enclosed in what?
a) # and #
b) ? and !
c) < and >
d) { and }

25. To create HTML page, you need _____


a) Web browser
b) text editor
c) Both [A] and [B]
d) None of the above

26. <a> and </a> are the tags used for ______
a) Adding image
b) Aligning text
c) Audio-voiced text
d) Adding links to your page

Answer : d

27. To add a plain color background to your web page, use which of the
following?
a) <body bgcolor= “36,24,35”>
b) <body color= “# FF000”>
c) <body bgcolor= “# FF000”>
d) All of the above

28. What does the <br> tag add to your webpage?


a) Long break
b) Paragraph break
c) Line break
d) None of the above
29. In HTML, tags that include both open and close tag are called
a) comment tag
b) document tag
c) container tag
d) None of the above

30. Which tag will you add to specify a font for your whole page?
a) <defaultfont>
b) <targetfont>
c) <basefont>
d) <font>

31. The tag used for creating hypertext and hypermedia links is
a) <HR>
b) <BR>
c) <PRE>
d) <A>

32. All normal webpages consists of ______


a) Top and bottom
b) Body and frameset
c) Head and body
d) None of the above

33. To created a bulleted list, use _____


a) <ol>
b) <ul>
c) <il>
d) None of the above

34. What kind of list will <ol> tags create?


a) Numbered list
b) Bulleted list
c) Unordered list
d) None of the above

35. Which tag will add rows to your tables?


a) <tr> and </tr>
b) <th> and </th>
c) <td> and </td>
d) None of the above

36. Which tag can set the background color for your page?
a) <body>
b) <font>
c) <head>
d) <title>
37. To start a list using circles, use
a) <ul “round”>
b) <ul type=”circle”>
c) <ul type=”round”>
d) <ul =”round”>

38. Generally, there are


a) 4 headers in most HTML page
b) 5 headers in most HTML page
c) 6 headers in most HTML page
d) 7 headers in most HTML page

39. Imagelink can show a text label if you add property


a) alt
b) str
c) alternative
d) All of the above

40. Which property tells how many rows a cell should span?
a) colspan=n
b) rowspan=n
c) Both (A) and (B)
d) None of the above

41. Which tag is used to add columns to tables?


a) <td>
b) <tr>
c) <th>
d) <colspan>

42. Choose the correct HTML tag to left-align the content inside a table
cell
a) <td leftalign>
b) <td align=”left”>
c) <td valign=”left”>
d) <td=”left”>

43. Which tag tells where a link starts?


a) <a>
b) <i>
c) <body>
d) None of the above

44. Which section is used for text and tags that are shown directly on your
web page?
a) Head
b) Metatags
c) Body
d) title
45. The attribute used choose the type of font in HTML is?
a) Character
b) Face
c) Text-type
d) All of the above

46. What is the correct HTML tag for inserting a line break?

a) <break>
b) <lb>
c) <pre>
d) <br>

47. To start a list at the count of 3, use

a) <ol begin=”3”>
b) <ol list=”3”>
c) <ol start=”3”>
d) <ol num=”3”>

48. To change the size of an image in HTML, use

a) Pliers
b) Bigger and smaller
c) Top and bottom
d) Height and width

49. When making bulleted lists, which options do you have?

a) triangle, disc, circle


b) triangle, square, circle
c) disc, circle, square
d) square, disc, polygon

50. Tags and text that do not show directly on the page are placed in

a) Head
b) Body
c) Title
d) None of the above

You might also like