HTML & CSS Script

15 Questions | Total Attempts: 191

SettingsSettingsSettings
Please wait...
HTML & CSS Script

This quiz will test your skills on the HTML & CSS features we have used so far.


Questions and Answers
  • 1. 
    Re-write the highlighted section so that the destination of the link goes to "www.wwf.org.uk".
  • 2. 
    The image provided does not exist. Re-write the highlighted section to include the alternate text "w3schools.com" for the image.
  • 3. 
    Re-Write the highlighted text with the appropriate tags: "Universal Studios Presents" is the most important content. "Jurassic Park" is the next most important content. "About" is of lesser importance than Jurassic Park. The last sentence is just a paragraph.
  • 4. 
    Looking at the HTML document, what is the background color of the website?
  • 5. 
    Looking at the HTML document, what is the color of the h3 element when the website is being viewed?
  • 6. 
    Change the size of the image to 250 pixels wide and 400 pixels tall.
    • A. 

      <img src="w3schools.jpg" width="250" height="400">

    • B. 

      <img src="w3schools.jpg" width="400" height="250">

    • C. 

      <img src="w3schools.jpg" width="354" height="542">

    • D. 

      <img src="w3schools.jpg" w="250" h="400">

  • 7. 
    Transform the text below into a link that goes to "www.w3schools.com".
    • A. 

      <a href="http://www.w3schools.com">This is a link</a>

    • B. 

      <a href="http://www.w3schools.org">This is a link</a>

    • C. 

      <a "http://www.w3schools.com">This is a link</a>

    • D. 

      <href="http://www.w3schools.com">This is a link

  • 8. 
    To add a heading to a paragraph you would use the <h1 to h6> ... </h1 to /h6> tags.
    • A. 

      True

    • B. 

      False

  • 9. 
    Is this the proper way to declare "Hello World!" as a paragraph?
    • A. 

      True

    • B. 

      False

  • 10. 
    Clean up this document with proper end tags.
    • A. 

      Option 1

    • B. 

      Option 2

    • C. 

      Option 3

    • D. 

      Option 4

  • 11. 
    Look at the HTML script to answer the question.  How many elements within the internal style sheet are being styled?
    • A. 

      One

    • B. 

      Two

    • C. 

      Three

    • D. 

      Four

  • 12. 
    Look at the HTML script to answer the question.  How many properties within the internal style sheet are being used?
    • A. 

      One

    • B. 

      Two

    • C. 

      Three

    • D. 

      Four

  • 13. 
    Look at the HTML script to answer the question.  Which element is being styled within the inline style?
    • A. 

      H1

    • B. 

      Color

    • C. 

      H3

    • D. 

      Body

  • 14. 
    When creating a website that has multiple pages, which type of style sheet is preferred?
    • A. 

      External style sheet

    • B. 

      Internal style sheet

    • C. 

      Inline style

    • D. 

      Up-line style sheet

Back to Top Back to top