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 proper way to write an h1 tag

  • <h1>Hello</h1>
  • <h1>"Hello
  • {h1}Hello{/h1}
  • <h1>Hello<h1>

2. What coding would be used to define a header cell in an HTML table

  • <th>Month</th>
  • <td>Month</td>
  • <h1>Month</h1>
  • <h2>Month</h2>

3. What does the <p> tag do?

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

4. What will happen to the content in blue?<p>This is a spelling mistake <u>parragraph</u> .<p/>

  • it will be in bold
  • it will be underlined
  • it will be in italics

5. Which word is not used in HTML structure?

  • footer
  • body
  • head
  • arm

6. HTML Language uses

  • Tabs
  • Tags
  • Punctuation
  • Quotations

7. What does the following tag do <div>

  • defines a division or a section in an HTML document
  • defines all the divas in the classroom

8. Which tag will create a new row in a HTML table?

  • <r>
  • <tr>
  • <row>
  • <tablerow>

9. New heading tags can be added by using;

  • Letters (ie: ha; hb)
  • Numbers (i.e: h1; h2)
  • Quotations (ie: h'; h")
  • You can't do this

10. Which tag will create the largest heading

  • <h6>
  • <h4>
  • <h2>
  • <h3>

11. <p> is

  • punctuation tag
  • closing paragraph tag
  • closing punctuation tag
  • paragraph tag

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

13. How would you centre a H2 heading?

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

14. An attribute is a; 

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

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

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

16. Style tags are used to;

  • Apply style to one line
  • Not used in HTML
  • Used at the top of the page to apply a style to the entire document
  • Used sparingly

17. Which section is used for text and tags?

  • Arm
  • Body
  • Footer
  • Head

18. <style>

  • Found at top of styling options
  • Allows a heading to be written
  • Allows the body to be written
  • Allows attributes to be included

19. What best describes CSS

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

20. What best describes web authoring software?

  • it creates HTML code to make web pages.
  • It is used to view web pages

21. Body tags are used;

  • Used for only the header
  • Used only for the paragraph
  • element that wraps everything that is visible on the page.
  • Not used in HTML

22. What best describes an ASSET

  • an object on a web page (image, video, etc.)
  • Helps add links to web pages

23. <body>

  • Body tag
  • Paragraph tag
  • Closing body tag
  • Header tag

24. A Header;

  • Must include your name
  • First Line of your code
  • Found at bottom of your code
  • Not needed in HTML

25. <html>

  • Gives you structure and text
  • Not needed when creating HTML sites
  • Goes after the <h1>
  • Goes after the <body>

26. [Square brackets are used to define];

  • An input attribute
  • An export attribute
  • A Function
  • A Variable

27. <img> tag finds;

  • finds the image located at the a URL and the src attribute and then displays it.
  • finds the image located at the SRC in the URL attribute and then displays it.
  • Adds a cool picture
  • Does not work in HTML coding

28. <p> is a _______ tag.

  • image
  • paragraph
  • filename

29. Which tag does not need a closing tag?

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

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

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

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

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

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

33. Which tag would you use for bullet points?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • comments
  • questions
  • paragraph
  • image

42. <p> tag is for...

  • Page of Text
  • Picture
  • Paragraph of text
  • Pineapples

43. What does a opening tag look like?

  • < >
  • </ >
  • << >>
  • <

44. What does a closing tag look like?

  • < >
  • <\ >
  • </ >
  • << >>

45. What should a HTML web page start with?

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

46. What should a HTML web page end with?

  • </html>
  • <head>
  • </end>
  • </body>

47. What does this tag stand for? <b>

  • bright
  • big
  • beautiful
  • bold

48. An ordered list will have ________.

  • bullet points
  • numbers
  • none of the above

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

  • Headline Tag
  • Paragraph Tag
  • filename

50. An unordered list will have _______.

  • bullet points
  • numbers
  • none of the above

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.