0% found this document useful (0 votes)
3 views

HTML

The document contains a series of multiple-choice questions about HTML, covering topics such as its definition, syntax, elements, and usage. Key concepts include the structure of HTML, various tags for formatting and multimedia, and attributes related to HTML elements. It serves as a quiz or study guide for individuals learning HTML.

Uploaded by

swarup_729367867
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

HTML

The document contains a series of multiple-choice questions about HTML, covering topics such as its definition, syntax, elements, and usage. Key concepts include the structure of HTML, various tags for formatting and multimedia, and attributes related to HTML elements. It serves as a quiz or study guide for individuals learning HTML.

Uploaded by

swarup_729367867
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

HTML

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. Who is the father of HTML?

a) Rasmus Lerdorf
b) Tim Berners-Lee
c) Brendan Eich
d) Sergey Brin

3. HTML stands for __________

a) HyperText Markup Language


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

4. What is the correct syntax of doctype in HTML5?

a) </doctype html>
b) <doctype html>
c) <doctype html!>
d) <!doctype html>

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

6. Which of the following tag is used for inserting the largest heading in HTML?

a) head
b) <h1>
c) <h6>
d) heading

7. In which part of the HTML metadata is contained?


a) head tag
b) title tag
c) html tag
d) body tag

8. Which element is used to get highlighted text in HTML5?


a) <u>
b) <mark>
c) <highlight>
d) <b>
9.Which of the following is not a HTML5 tag?
a) <track>
b) <video>
c) <slider>
d) <source>

10. How do we write comments in HTML?

a) </…….>
b) <!……>
c) </……/>
d) <…….!>

11. Which of the following elements in HTML5 defines video or movie content?
a) <video>
b) <movie>
c) <audio>
d) <media>

12. Which of the following is not the element associated with the HTML table layout?
a) alignment
b) color
c) size
d) spanning

13. Which element is used for or styling HTML5 layout?


a) CSS
b) jQuery
c) JavaScript
d) PHP

14. 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>

15. 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” />

16. HTML is a subset of ___________


a) SGMT
b) SGML
c) SGME
d) XHTML

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


a) #
b) !
c) /
d) \
18. Among the following, which is the HTML paragraph tag?
a) <p>
b) <pre>
c) <hr>
d) <a>

19. Which HTML element is used for short quote?


a) <em>
b) <abbr>
c) <q>
d) <blockquote>

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

21. Which HTML element is used for abbreviation or acronym?


a) <abbr>
b) <blockquote>
c) <q>
d) <em>

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

23. What is the work of <address> element in HTML5?


a) contains IP address
b) contains home address
c) contains url
d) contains contact details for author

24. To show deleted text, which HTML element is used?


a) <del>
b) <em>
c) <strong>
d) <ins>

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


a) <input>
b) <select>
c) <text>
d) <textarea>

26. Which tag is used to create a numbered list in HTML?


a) <ol>
b) <ul>
c) <li>
d) <ll>
27. How to create a checkbox in HTML Form?
a) <input type=”text”>
b) <input type=”textarea”>
c) <input type=”checkbox”>
d) <input type=”button”>

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


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

29. Which tag is used to create a blank line in HTML?


a) <b>
b) <br>
c) <em>
d) <a>

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

31. What is the use of <hr/> tag in HTML?


a) For making content appearance italics
b) To create vertical rule between sections
c) To create a line break
d) To create horizontal rule between sections

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


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

33. Which works similar to <b> element?


a) <blockquote>
b) <strong>
c) <em>
d) <i>

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


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

35. Which HTML element is used for YouTube videos?


a) <samp>
b) <small>
c) <frame>
d) <iframe>
36. Which of the following HTML element is used for canvas graphics?
a) <css>
b) <paint>
c) <canvas>
d) <graphic>

37.Which of these elements in HTML can be used for making a text bold?

a. <a>
b. <pre>
c. <br>
d. <b>
38. Which tag do we use in HTML for inserting a line-break?

a. <a>
b. <br>
c. <b>
d. <pre>
39. How to create a hyperlink in HTML?

a. <a link = “www.thinkandlearn.com”> thinkandlearn.com </a>


b. <a> www.thinkandlearn.com <thinkandlearn.com /a>
c. <a href = “www.thinkandlearn.com”> thinkandlearn.com </a>
d. <a url = “www.thinkandlearn.com” thinkandlearn.com /a>
40. In HTML, how do we insert an image?

a. <img src = “jtp.png” />


b. <img href = “jtp.png” />
c. <img link = “jtp.png” />
d. <img url = “jtp.png” />
41. Which tag do we use to define the options present in the drop-down selection lists?

a. <list>
b. <option>
c. <dropdown>
d. <select>
42. In HTML, which of these would add a background color?

a. <marquee bgcolor = “plum”>


b. <marquee bg color: “plum”>
c. <marquee color = “plum”>
d. <marquee bg-color = “plum”>
43. Which HTML tag do we use to display text along with a scrolling effect?

a. <div>
b. <scroll>
c. <marquee>
d. None of the above
44. In HTML, we use the <hr> tag for ___________.

a. horizontal ruler
b. new line
c. new paragraph
d. vertical ruler
45. In HTML, the tags are __________.

a. in upper case
b. case-sensitive
c. in lowercase
d. not case sensitive

46. Which of these tags helps in the creation of a drop-down box or a combo box?

a. <input type = “dropdown”>


b. <list>
c. <ul>
d. <select>
47. Which tag is used in HTML5 for the initialization of the document type?

a. <Doctype HTML>
b. <!DOCTYPE html>
c. <Doctype>
d. <\Doctype html>

48. Which one is the HTML document’s root tag?

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

49. Which HTML tag do we use for displaying the power in the expression, (x² – y²)?

a. <p>
b. <sub>
c. <sup>
d. None of the above

50. Which of these doesn’t support the MP3 format?

a. Opera
b. Safari
c. Chrome
d. Firefox

You might also like