Can You Pass This Hardest HTML Competency Quiz?

12 Questions | Total Attempts: 172

SettingsSettingsSettings
Please wait...
HTML Quizzes & Trivia

This quiz has been developed to determine an approximate level of competency in HTML(Hyper Text Markup Language) and related web technologies. Questions get more difficult as the quiz goes on. Read the questions carefully. So, let's try out the quiz. All the best!


Questions and Answers
  • 1. 
    The HTML code: Alpha ... would produce what result?
    • A. 

      Prints "Alpha" to the screen

    • B. 

      Runs the "Alpha" subroutine

    • C. 

      Renders a large, underlined header reading "Alpha"

    • D. 

      It would produce nothing; it is invalid HTML

  • 2. 
    If you wanted all of your paragraphs to have an indented first line, what would be the most efficient way to do this?
    • A. 

      Add the code &nsbp;&nsbp;&nsbp;&nsbp; after the start of each tag

    • B. 

      Add the code style="text-spacing:20px;" to each tag

    • C. 

      Add the code style="text-indent:2em;" to the page's style sheet

    • D. 

      Modify .htaccess to rewrite tags

  • 3. 
    Which of the following acronyms is not connected to web technology?
    • A. 

      CSS

    • B. 

      DOM

    • C. 

      XML

    • D. 

      PTS

    • E. 

      FTP

  • 4. 
    Which of the following is not a real web browser?
    • A. 

      Internet Explorer 9

    • B. 

      Opera

    • C. 

      Lynx

    • D. 

      Firefox 2.0

    • E. 

      Camino

  • 5. 
    "Safari" is...
    • A. 

      A web technology for dynamically retrieving XML feeds

    • B. 

      A web browser on the Macintosh platform

    • C. 

      A popular tool for determining search engine page rank

    • D. 

      A browser plug-in for managing your web history

  • 6. 
    What is wrong with the following snippet of Javascript code? obj = document.getElementById("DPC_MONTH_NAMES"); if (obj) eval ("this.Months = " & obj.value);
    • A. 

      There should be curly braces after if (obj)

    • B. 

      The & should be a +

    • C. 

      The = in the first line should be ==

    • D. 

      The semicolons at the end of each line should be removed

  • 7. 
    Which is NOT a valid limitation of a Flash navigation bar?
    • A. 

      Inaccessible to people without Flash

    • B. 

      Increases page load times

    • C. 

      Flash is incompatible with newer versions of Internet Explorer

    • D. 

      Causes older computers to run more slowly

  • 8. 
    What does the robots.txt file do?
    • A. 

      Gives instructions to search engine spiders

    • B. 

      Controls running Javascript

    • C. 

      Configures web counters and stats tracking

    • D. 

      Tells user's web browser what plug-ins may be used

  • 9. 
    How do you include a unique icon for a webpage to appear in a user's bookmarks?
    • A. 

      Define "site-icon: url(icon.jpg)" in a site stylesheet

    • B. 

      Use Javascript to add the icon to the DOM (document.siteicon)

    • C. 

      Use the tag in thesection of a page

    • D. 

      Place a "favicon.ico" file in the root directory of the webserver

  • 10. 
    All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags
    • A. 

      Attribute name

    • B. 

      Tag name

    • C. 

      Class name

    • D. 

      None of the mentioned 

  • 11. 
    The World Wide Web’s markup language has always been HTML.e?
    • A. 

      True 

    • B. 

      False 

  • 12. 
    Which element represents a control for generating a public-private key pair?
    • A. 

      Ins

    • B. 

      Keygen

    • C. 

      Key

    • D. 

      Command