Basic HTML Tag Quiz!

11 Questions | Total Attempts: 125

SettingsSettingsSettings
Basic HTML Tag Quiz! - Quiz

Frontpage Quiz, now taking its place online for all to find. If they know the password.


Questions and Answers
  • 1. 
    What are the symbols which begin and end a tag?
    • A. 

      " and "

    • B. 

      ( and )

    • C. 

      { and }

    • D. 

      < and >

    • E. 

      [ and ]

  • 2. 
    Which is a proper opening tag?
    • A. 

      < / tagname >

    • B. 

      < tagname >

    • C. 

      < tag tag >

    • D. 

      < tag / name >

    • E. 

      < name / tag >

  • 3. 
    Which is the most proper HTML element?
    • A. 

      < tagname content > attributes < / tagname >

    • B. 

      < tagname content / tagname >

    • C. 

      < tagname > content < / tagname >

    • D. 

      < tagname > content < \ tagname >

    • E. 

      < / tagname > >

  • 4. 
    Which is the most proper application of attributes to an HTML element?
    • A. 

      < tagname > content < / tagname >

    • B. 

      < tagname > attribute="content" < / tagname >

    • C. 

      < tagname content > attribute="value" < / tagname >

    • D. 

      < tagname attribute > content < / tagname >

    • E. 

      < tagname attribute="value" > content < / tagname >

  • 5. 
    Which is the most proper ANCHOR element?
    • A. 

      < a > click here for url.com < / a >

    • B. 

      < a href="click here for url.com" > http://url.com < / a >

    • C. 

      < a href="http://url.com" > click here for url.com < / a >

    • D. 

      < a href="url.com" / >

    • E. 

      < a url="url.com" > click here for url.com < / a >

  • 6. 
    Which is the most proper IMAGE element?
    • A. 

      < img src="url" alt="a nice image" / >

    • B. 

      < img href="url" alt="a nice image" / >

    • C. 

      < img alt="url" / >

    • D. 

      < img url="url"alt=a nice image / >

    • E. 

      < img > url < / img >

  • 7. 
    Which elements are block-level elements? (Choose as many as necessary)
    • A. 

      < div >

    • B. 

      < b >

    • C. 

      < em >

    • D. 

      < p >

    • E. 

      < h1 >

  • 8. 
    Which elements are inline elements? (Choose as many as needed)
    • A. 

      < div >

    • B. 

      < b >

    • C. 

      < em >

    • D. 

      < p >

    • E. 

      < h1 >

  • 9. 
    Which set of elements are allowed in HTML?
    • A. 

      < p > Here is some < p > text < / p > right here < / p >

    • B. 

      < p > Here is some < b > text < / p > right here < / b >

    • C. 

      < p > Here is some < b > text < / b > right here < / p >

    • D. 

      < b > Here is some < p > text < / p > right here < / b >

  • 10. 
    Which set of elements are allowed in HTML? (Choose whichever ones are correct)
    • A. 

      < div > < / span > < / div > < span >

    • B. 

      < div > < span > < / div > < / span >

    • C. 

      < div > < span > < / span > < / div >

    • D. 

      < span > < div > < / div > < / span >

    • E. 

      < span > < span > < / span > < / span >

  • 11. 
    Based on the partial information provided here, which code is proper HTML? ( Choose as many as are correct)
    • A. 

      < div id="main" > < span id="main" >

    • B. 

      < div id="main" > < span id="norm" >

    • C. 

      < div class="main" > < span class="main" >

    • D. 

      < span class="odd" > < span class="even" >

    • E. 

      < span id="odd" > < span id="odd" >

Back to Top Back to top