HTML5 Quizz

18 Questions | Attempts: 1045
Share

SettingsSettingsSettings
HTML5 Quizzes & Trivia

Quizz to know which is the level for HTML knowledge in the team


Questions and Answers
  • 1. 

    What does HTML stand for?

    • A.

      Hyper Text Markup Language

    • B.

      Home Tool Markup Language

    • C.

      Hyperlinks and Text Markup Language

    Correct Answer
    A. Hyper Text Markup Language
  • 2. 

    What is the correct HTML tag for inserting a line break?

    • A.

      Lb

    • B.

      Br

    • C.

      Break

    Correct Answer
    B. Br
  • 3. 

    What is the preferred way for adding a background color in HTML?

    • A.

      Background color="white"

    • B.

      Body background="white"

    • C.

      Body style="background-color:white"

    Correct Answer
    C. Body style="background-color:white"
  • 4. 

    What is the correct HTML for creating a hyperlink?

    • A.

      A name="http://www.w3schools.com"

    • B.

      A href="http://www.w3schools.com"

    • C.

      A url="http://www.w3schools.com"

    • D.

      A path="http://www.w3schools.com"

    Correct Answer
    B. A href="http://www.w3schools.com"
  • 5. 

    Which of these tags are all table tags?  

    • A.

      Table, tr, tt

    • B.

      Table, head, tfoot

    • C.

      Table, tr, td

    • D.

      Thead, body, tr

    Correct Answer
    C. Table, tr, td
  • 6. 

    What is the correct HTML for making a checkbox?  

    • A.

      Input type="check"

    • B.

      Checkbox

    • C.

      Input type="checkbox"

    • D.

      Check

    Correct Answer
    C. Input type="checkbox"
  • 7. 

    What is the correct HTML for making a text input field?  

    • A.

      Textfield

    • B.

      Input type="text"

    • C.

      Textinput type="text"

    • D.

      Input type="textfield"

    Correct Answer
    B. Input type="text"
  • 8. 

    What is the correct HTML for inserting an image?  

    • A.

      Img href="image.gif" alt="MyImage"

    • B.

      Img src="image.gif" alt="MyImage"

    • C.

      Img alt="MyImage" path="image.gif"

    • D.

      Image src="image.gif" alt="MyImage"

    Correct Answer
    B. Img src="image.gif" alt="MyImage"
  • 9. 

     What is the difference between HTML and HTML5 ?

    • A.

      In HTML5 no need to do external plugin like Flash player or other library

    • B.

      HTML5 is an upgraded version of HTML

    • C.

      In HTML5 lot of new future like Video, Audio/mp3, date select function , placeholder , Canvas, 2D/3D Graphics, Local SQL Database were added

    • D.

      All are correct.

    Correct Answer
    D. All are correct.
  • 10. 

    What is the  < ! DOCTYPE >  ? 

    • A.

      It's an instruction to recognize you are creating an XML file.

    • B.

      It's an instruction to the web browser about what version of HTML the page is written in.

    • C.

      It's an instruction to finish an HTML page.

    Correct Answer
    B. It's an instruction to the web browser about what version of HTML the page is written in.
  • 11. 

    Which of the follows are all new elements for  HTML5?

    • A.

      Article, footer, section, audio, track

    • B.

      Object, article, br, table, input

    • C.

      Input, frame, body, table, form

    Correct Answer
    A. Article, footer, section, audio, track
  • 12. 

    Which of the follow options are new input types in HTML5?

    • A.

      Text, textarea, multiplebox, list

    • B.

      Email, month, number, color, search

    • C.

      Month, date, year, email, textarea

    Correct Answer
    B. Email, month, number, color, search
  • 13. 

     How to add video in HTML5?

    • A.

      Video width="320" height="240" src="myVideo.mp4"

    • B.

      < video width="320″ height="240″ controls="controls" > < source src="myVideo.mp4″ type="video/mp4" / > < / video >

    • C.

      < object id="MediaPlayer" width="434" height="300" classid="clsid:22D6F312-B0F6-11D0-94AB… type="application/x-oleobject" > < param name="Filename" value="myVideo.mp4" >

    • D.

      Object width="320" height="240" src="myVideo.mp4"

    • E.

      Embed src="video.avi" width="352" height="240"

    Correct Answer
    B. < video width="320″ height="240″ controls="controls" > < source src="myVideo.mp4″ type="video/mp4" / > < / video >
  • 14. 

     What is the use of sessionStorage in HTML5?

    • A.

      It doesn't exist for HTML5

    • B.

      It stores the data for one session.

    • C.

      It stores data with no expiration date.

    Correct Answer
    B. It stores the data for one session.
  • 15. 

    Which browsers support HTML5?

    • A.

      IE, Opera, Chrome, Firefox

    • B.

      All

    • C.

      All, but just some elements

    • D.

      Mobiles, Opera, Chrome

    Correct Answer
    C. All, but just some elements
  • 16. 

    Which are some advantage using HTML5?

    • A.

      Cleaner markup.

    • B.

      Additional semantics of new elements

    • C.

      Reduce the need for external plugins

    • D.

      Better error handling

    • E.

      All of above

    Correct Answer
    E. All of above
  • 17. 

    Which object you can get the gelocation with?

    • A.

      Maps.getCurrentPosition();

    • B.

      Navigator.location.getCurrentPosition();

    • C.

      Navigator.geolocation.getCurrentPosition();

    • D.

      Navigator.maps.getCurrentPosition();

    Correct Answer
    C. Navigator.geolocation.getCurrentPosition();
  • 18. 

    Why is recommended to use HTML5?

    • A.

      Because it's a new technology.

    • B.

      Because it's changing the world.

    • C.

      It's still not recommended.

    • D.

      All navigators use it.

    Correct Answer
    C. It's still not recommended.

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Feb 27, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Sep 24, 2012
    Quiz Created by
    Elcuahu
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.