HTML And PHP Quiz

11 Questions | Total Attempts: 205

Settings
Please wait...
PHP Quizzes & Trivia

This is a quiz over basic HTML tags, and php. With a review through the information on my site you should be able to answer the questions on this quiz. Good luck!


Questions and Answers
  • 1. 
    What does HTML stand for ?
    • A. 

      Hyper Transfer Protocol

    • B. 

      HyperTransfer Markup Language

    • C. 

      HyperText Markup Language

  • 2. 
    HTML code always starts with what important tag?
    • A. 

      HTML

    • B. 

      HEAD

    • C. 

      BODY

    • D. 

      TABLE

  • 3. 
    This tag < P > creates a new what ?
    • A. 

      Page

    • B. 

      Image

    • C. 

      Paragraph

    • D. 

      Table

  • 4. 
    To put an image on your website you would use ?
    • A. 

      A tag with ' a href ' in it

    • B. 

      A tag with an ' P ' in it

    • C. 

      A tag with an ' H1 ' in it

    • D. 

      A tag with br/ in it

  • 5. 
    The tag that includes OL would make what ?
    • A. 

      An unordered list

    • B. 

      An ordered list

    • C. 

      A new table

  • 6. 
    A table is divided into rows and data. How would you make a table row ?
    • A. 

      I'd use td /td tags

    • B. 

      The best option is using a tag with br/

    • C. 

      The only way to do it is using a tbleRW tag

    • D. 

      The best answer is tr /tr tags

  • 7. 
    The sign used at the end of this question means what in php:  /   
    • A. 

      Multiplication

    • B. 

      Integer

    • C. 

      Division

    • D. 

      Fraction

  • 8. 
    The item in the parentheses of an IF statement in php is called the ? 
    • A. 

      Condition

    • B. 

      Variable

    • C. 

      Object

  • 9. 
    A variable in php can be described how?
    • A. 

      A place where the data is compressed and stored indefinitely

    • B. 

      A box in which you put data and can get it later

    • C. 

      A storage of data that you can no longer access

  • 10. 
    A line of php code must end with a ?
    • A. 

      Semicolon ( ; )

    • B. 

      Comma ( , )

    • C. 

      Period ( . )

  • 11. 
    PHP variables start with what symbol ?
    • A. 

      A + symbol

    • B. 

      A # symbol

    • C. 

      A $ symbol

    • D. 

      A @ symbol