Basic HTML

20 Questions

Settings
Please wait...
Basic HTML Quizzes & Trivia

The following questions deal with basic HTML. Identify each statement as true or false.


Questions and Answers
  • 1. 
    The <ul> </ul> pair is a command to indent from both the left and right.
    • A. 

      True

    • B. 

      False

  • 2. 
    The <p> </p> pair is a command to indent from both the left and right.
    • A. 

      True

    • B. 

      False

  • 3. 
    The <blockquote> </blockquote> pair is a command to indent from both the left and right.
    • A. 

      True

    • B. 

      False

  • 4. 
    The <br /> tag is used to place text on a new line.
    • A. 

      True

    • B. 

      False

  • 5. 
    The <body> </body> tags links Web pages together.
    • A. 

      True

    • B. 

      False

  • 6. 
    The <a> tag links Web pages together.
    • A. 

      True

    • B. 

      False

  • 7. 
    The <body> </body> tags make text visible on a Web site.
    • A. 

      True

    • B. 

      False

  • 8. 
    The <h1> </h1> tags create the smallest heading.
    • A. 

      True

    • B. 

      False

  • 9. 
    This is an example of an ordered list.<h1>Popular Food</h1><ul> <li>Hamburgers</li> <li>Pizza</li> <li>Tacos</></ul>
    • A. 

      True

    • B. 

      False

  • 10. 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "html xmins="http://www,w3org/TR/xhtml1/DTD/xhtml-transitional.dtd"><html xmins="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><title>My Web Page</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body>I'm Jim Becka</body></html>       The words "My Web Page" will appear on this Web Page.
    • A. 

      True

    • B. 

      False

  • 11. 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "html xmins="http://www,w3org/TR/xhtml1/DTD/xhtml-transitional.dtd"><html xmins="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><title>My Web Page</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body>I'm Jim Becka</body></html>     The meta section of this tag will attract people on the Web to this site.
    • A. 

      True

    • B. 

      False

  • 12. 
    This html is correct.</h1>Popular Food<h1></ul> </li>Hamburgers<li> </li>Pizza<li> </li>Tacos<li><ul>
    • A. 

      True

    • B. 

      False

  • 13. 
    This is a symbol for an ordered list: <ol> </ol>
    • A. 

      True

    • B. 

      False

  • 14. 
    The <li> </li> symbols appear in both ordered and unordered lists.
    • A. 

      True

    • B. 

      False

  • 15. 
    This is an example of how an unordered list would appear on a Web page.A. CokeB. Dr. PepperC. Sprite
    • A. 

      True

    • B. 

      False

  • 16. 
    The default alignment for headings and paragraphs is centered.
    • A. 

      True

    • B. 

      False

  • 17. 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "html xmins="http://www,w3org/TR/xhtml1/DTD/xhtml-transitional.dtd"><html xmins="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><title>My Web Page</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body>I'm Jim Becka</body>           The title and meta portions of this tag will appear in Web searches.</html>            This is what attracts people to this Web page.
    • A. 

      True

    • B. 

      False

  • 18. 
    This portion of html allows Web pages to display on small (hand held) Web devices.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "html xmins="http://www,w3org/TR/xhtml1/DTD/xhtml-transitional.dtd"><html xmins="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    • A. 

      True

    • B. 

      False

  • 19. 
    This tag (a line break) does not use an open and close. This is the only way it is used.<br />
    • A. 

      True

    • B. 

      False

  • 20. 
    Which of the following tags would appear (be visible) on a Web page?     <head>A.  <title>My Web Page</title>B.  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />     </head>     <body>C.  I'm Jim Becka      </body>D.  </html>
    • A. 

      Title: My Web Page

    • B. 

      Meta section

    • C. 

      Body: I'm Jim Becka

    • D.