About Html

Following are some of the multiple choice questions on the Html with answers that will help the students in developing their knowledge.

Html MCQ

1. Which is the correct HTML element for inserting a line break?

  • <b>
  • <lb>
  • <br>
  • <break>

2. What HTML element defines the title of the document?

  • <title>
  • <head>
  • <meta>
  • None of these

3. An attribute is a;

  • Applies changes to everything
  • Different options for each tab
  • Allows for no changes to the site
  • Gives structure and text

4. How would you centre a H2 heading?

  • <h1 align="center">
  • <h2 stickit="center">
  • <h2 align=center>
  • <h2 align="center">

5. How would you set the height of a cell to 170 in a HTML table?

  • Height="170"
  • Ht="170"

6. What best describes CSS

  • describes how HTML elements are displayed on screen
  • To logically divide the document

7. Which of the following pieces of code will create a horizontal line across the page?

  • <hr>
  • <line>
  • <p>
  • <grid>

8. What is the function of the <p> tag?

  • Defines a paragraph.
  • Makes the text purple.
  • It pushes the text to the right.
  • Prints the webpage.

9. What does HTML stand for?

  • Hypertext Medium Language
  • Hippo Tries Making Licorice
  • Hypertext Markup Lingo
  • Hypertext Markup Language

10. What is will the highlighted tag do? <p>My favourite colour is blue<br>I support Southend United.</p>

  • it will make the text bold
  • it will place the text on another line

11. Which code will make your background red?

  • <body style=background-color:red;>
  • <body style="background-color:yellow;">
  • <body style="background-color:red;">
  • <body colormybg="background-color:red;">

12. Which is NOT a web browser?

  • Chrome
  • Internet explorer
  • FireFox
  • Yahoo

13. Which tag pair is used to create the largest heading?

  • <h1></h1>
  • <h9></h9>
  • <h type = "largest"></h>
  • <h6> </h6>

14. These simple, easy-to-use programs allow you to enter, edit, save, and print text.

  • text editor
  • web browser
  • domain name
  • search engine

15. Website Content is the text, images, and other elements included in a web page.

  • True
  • False

16. More than 90 percent of websites on the Internet are coded using HTML.

  • True
  • False

17. Who is considered by many to be the "Father of the World Wide Web" and the creator of HTML?"

  • Tim Berners-Lee
  • Tim Cook
  • Tim Sweeney
  • None of these

18. In HTML, a color can be specified by using what?

  • Colour name
  • RGB value
  • HEX value
  • All of these

19. In HTML what are meta tags used for?

  • To only store information usually relevant to browsers
  • To store information usually relevant to browsers and search engines.
  • To store information about external links
  • To only store information about search engines.

20. What does HTML stand for what

  • Hyperlinks and Text Markup Language
  • Home Tool Markup Language
  • Hyper Text Markup Language
  • Hyperlink Markup Language

21. HTML was first proposed in which year

  • 1980
  • 1985
  • 1999
  • 1993

22. Which is the correct HTML tag to make a text italic?

  • italics
  • italic
  • i
  • iii

23. Which of the following tag is used for inserting the largest heading in html ?

  • H5
  • H4
  • H10
  • H1
  • H6

24. If you wanted to add links to your web page - what tag would you use?

  • <a>
  • <p>
  • <div>
  • <link>

25. What will happen to the text in blue? <p>He named his car <i>The lightning</i>, because it was very fast.</p>

  • the content will be displayed in italic
  • the content will display an image
  • the content defines text inserted into a document

26. What does the <p> tag do?

  • Creates preformatted text
  • places a picture in the website
  • creates a paragraph break

27. Which word is not used in HTML structure?

  • footer
  • body
  • head
  • arm

28. What does the <HTML> tag tell the browser

  • that it is an HTML document
  • defines the documents body
  • that it contains all the head elements

29. <!DOCTYPE>

  • Defines the document type
  • Defines a comment
  • Defines the document's body
  • Defines information about the document

30. Which of the following is the largest heading?

  • H2
  • H3
  • H4
  • H6

31. Which tag would you use to create a hyperlink?

  • <a href>
  • <img src>
  • <br>
  • <link>

32. Which tag does not need a closing tag?

  • <a href>
  • <head>
  • <body>
  • <img src>

33. Which tag would you use to insert a image?

  • <marquee>
  • < a href>
  • <br>
  • <img src>

34. What is the difference between <h1> and <h2>?

  • <h1> is larger in size than <h2>
  • <h2> is larger in size than <h1>
  • both are the same size but different headings
  • none of the above

35. Which tag would you use for bullet points?

  • <ul>
  • <ol>
  • <li>
  • <p>

36. Which tag would you use for an ordered list?

  • <ol>
  • <ul>
  • <li>
  • None of the above

37. <th></th> is the code for .....

  • a table row
  • a table column
  • a table header
  • Thanos

38. Which list tag would you use for an ordered list

  • <h1></h1>
  • <ol></ol>
  • <ul></ul>
  • <a></a>

39. Src attribute in an image tag means what?

  • Source of the image
  • Name of the image
  • Description of the image
  • Not used with image tag

40. Which code below is correct for a hyperlink

  • <a>"https://google.com"Click Me</a>
  • <a>Click Me>"https://google.com"</a>
  • <a herf="https://google.com">Click Me</a>
  • <a href="https://google.com">Click Me</a>

41. <h1> is an example of a _______.

  • Headline Tag
  • Paragraph Tag
  • filename

42. What is the minimum amount of time you can Nitrotype at the beginning of class?

  • 1 minute
  • 2 minutes
  • 5 minutes
  • 20 minutes

43. You'd use <img src="" /> to ______.

  • start a new website
  • indent a paragraph
  • log off your computer
  • put an image on a page

44. <p> is a _______ tag.

  • image
  • paragraph
  • filename

45. In the tag <img src="Piedmont.jpg"/> what is the file name?

  • <img
  • .jpg
  • </>
  • Piedmont.jpg

46. An unordered list will have _______.

  • bullet points
  • numbers
  • none of the above

47. What type of tag is this: <!-- -->

  • comments
  • questions
  • paragraph
  • image

48. What is debugging?

  • Use bug spray to kill bugs
  • Swatting flies with a magazine
  • Finding and fixing problems with code
  • Making comments to help make code easier to read

49. An ordered list will have ________.

  • bullet points
  • numbers
  • none of the above

50. What should a HTML web page start with?

  • <b>
  • <li>
  • <html>
  • <start>

Enjoyed the Quiz. Share this with friends

Comments

Add Your Review

Your email address will not be published.

Subscribe to Newsletter!

Subscribe to get latest updates and information.