Introduction To HTML Quiz: Test!

22 Questions | Total Attempts: 787

SettingsSettingsSettings
Introduction To HTML Quiz: Test! - Quiz

.


Questions and Answers
  • 1. 
    How many tags are there in a regular element?
    • A. 

      1

    • B. 

      2

    • C. 

      3

  • 2. 
    Values should always be enclosed in?
    • A. 

      Parenthesis

    • B. 

      Quotation marks

    • C. 

      Commas

  • 3. 
    How many HTML headings are there? What is the largest heading?
    • A. 

      6, H6

    • B. 

      4, H4

    • C. 

      6, H1

    • D. 

      4, H1

  • 4. 
    For adding bullets in a paragraph we use:
    • A. 

      Option 1

    • B. 

      Option 2

  • 5. 
    What is the correct HTML for adding a background color?
    • A. 

      Option 1

    • B. 

      Option 2

    • C. 

      Option 3

  • 6. 
    Can I use @<p>This is a paragraph instead of @<p>This is a Paragraph</p>@
    • A. 

      True

    • B. 

      False

  • 7. 
    How do I add a hyperlink on/and an image?
    • A. 

      Option 1

    • B. 

      Option 2

    • C. 

      Option 3

    • D. 

      Option 4

  • 8. 
    What will using width and height like this do? @<img src="dog.png" width=50% height=auto />@
    • A. 

      Double the width and double the height

    • B. 

      Reduce the width and height to half

    • C. 

      Double the width and keep the height constant

    • D. 

      Reduce the width to half and keep the height constant

  • 9. 
    How many of them are defined correctly?
    • A. 

      Option1

    • B. 

      Option2

    • C. 

      Option3

    • D. 

      Option4

  • 10. 
    @<hr>@ stands for horizontal row.
    • A. 

      True

    • B. 

      False

  • 11. 
    How can I download an image from a website if right-click is disabled in chrome?
    • A. 

      Ctrl + Shift + I

    • B. 

      Ctrl + S

    • C. 

      Ctrl + U

    • D. 

      Win + prt sc

  • 12. 
    Output of this will show?  
    • A. 

      1

    • B. 

      2

    • C. 

      3

  • 13. 
    Important text is declared by:
    • A. 

      I

    • B. 

      Bold

    • C. 

      Important

    • D. 

      Strong

  • 14. 
    How do we comment out style attribute in paragraph tag?
    • A. 

      Option 1

    • B. 

      /* style="color:red" */

    • C. 

      // style="color:red"

  • 15. 
    A in rgba(254, 67, 31, 0.2) is [Blank]
  • 16. 
    Can I write #fff instead of #ffffff
    • A. 

      True

    • B. 

      False

  • 17. 
    A table is created. To add space between border and content we use [Blank] & to define a space outside the border we use [Blank]
  • 18. 
    How is an unvisited link declared?
    • A. 

      Unvisited

    • B. 

      Link

    • C. 

      Active

    • D. 

      Hover

  • 19. 
    Target="_blank" opens the document in a new [Blank]
  • 20. 
    . . / is used to go back to previous folder/directory.
    • A. 

      True

    • B. 

      False

  • 21. 
    Th stands for [Blank] tr stands for [Blank] td stands for [Blank]  
  • 22. 
    What is div and span tag?
    • A. 

      Div is a block level container for other html element

    • B. 

      Div is an inline container for other html element

    • C. 

      Span is a block level container for some text

    • D. 

      Span is an inline container for some text

Back to Top Back to top