Test Your Knowledge About HTML Basics! Quiz

12 Questions | Total Attempts: 265

SettingsSettingsSettings
Please wait...
HTML Quizzes & Trivia

HTML isn't just for web developers anymore - anyone publishing on the web: bloggers, writers, and even social network users could benefit from learning some of the basics of the markup language to modify their web pages. Take the quiz to see how much HTML you know. (Note there may be more than one correct answer for some questions. ) So, let's try out the quiz. All the best!


Questions and Answers
  • 1. 
    Which of the following tags would have the effect of creating the text: This is ridiculous?
    • A. 

      < bi >This is < u >ridiculous< /u >< /bi >

    • B. 

      < b >< i >This is < u >ridiculous< /u >< /i >< /b >

    • C. 

      < b >This is ridiculous< /b >

    • D. 

      < b >< i >This is < u >ridiculous< /format >

    • E. 

      None of the above

  • 2. 
    Which of the following tags would create an image on your website, http://www.myweb.com that is found on another website, http://www.bonzo.com/bonzo.gif that is aligned to the centre of the page and has a thin border?
    • A. 

      < img src="http://www.bonzo.com/bonzo.gif" align="center" border="thin" >

    • B. 

      < img src="http://www.bonzo.com/bonzo.gif" align="center" border="5" >

    • C. 

      None of the above

    • D. 

      < img src="bonzo.gif" web="http://www.myweb.com" align="center" border="small" >

    • E. 

      < img src="http://www.bonzo.com/bonzo.gif" web="http://www.myweb.com" align="center" border="5" >

  • 3. 
    Which of the following HTML tags allows you to define the background of the webpage or a portion of it as an attribute of the tag?
    • A. 

      TABLE

    • B. 

      IMG

    • C. 

      BACKGROUND

    • D. 

      BODY

    • E. 

      None of the above

  • 4. 
    Which of the following HTML tags is/are used to change the font size of the text?
    • A. 

      FONT

    • B. 

      SIZE

    • C. 

      H1

    • D. 

      HEAD

    • E. 

      ALIGN

  • 5. 
    To create a hyperlink that points to an email address, the contents of the HREF attribute must begin with: _____
    • A. 

      Mailto

    • B. 

      Emailto

    • C. 

      Sendto

    • D. 

      Messageto

  • 6. 
    Which of the following correctly describes the use of the ALT attribute of the IMAGE tag?
    • A. 

      To provide an alternate image location if the original is not available

    • B. 

      To provide the image height

    • C. 

      To provide the image width

    • D. 

      To provide a textual description of the image

    • E. 

      To provide the rollover image

  • 7. 
    What is the purpose of the < NOFRAMES> tag?
    • A. 

      To ensure that frames are not used on a particular page

    • B. 

      To give the user the option of not using frames on a particular page

    • C. 

      To let the browser know what page to display if it does not support frames

    • D. 

      To help search engine robots better access all of the content on a page

    • E. 

      None of the above

  • 8. 
    Which of the following tags is used to categorize HTML pages so that search engines can better identify their content?
    • A. 

      SUMMARY

    • B. 

      SUM

    • C. 

      CRAWLER

    • D. 

      HEADER

    • E. 

      META

  • 9. 
    What is the difference between XML and HTML?
    • A. 

      HTML is used for exchanging data, XML is not

    • B. 

      XML is used for exchanging data, HTML is not

    • C. 

      HTML can have user defined tags, XML cannot 

  • 10. 
    Opening Tag of HTML Tag is called as ________.
    • A. 

       Closed Tag

    • B. 

      Starting Tag

    • C. 

      Forward Tag

    • D. 

      Enging Tag

  • 11. 
    HTML Code written in MAC can be browsed in a PC with Window 7 installed, User will be able to see same design that was designed on the MAC Pc.
    • A. 

      True

    • B. 

      False

  • 12. 
    Caption Tag in HTML ?
    • A. 

      Is used to display the Title for table at the top

    • B. 

      S used to display the Title for table at the bottom

    • C. 

      Both

    • D. 

      None