Test your basic knowledge |

Html5 Basics

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. A ____ is a location on a page that can be linked to






2. If an <a> element links to a media file - the browser tries to display or play it by using the right media player. To help the browser find the right one - you can use the type attribute to specify a ____ type






3. 'http://www.yahoo.com/movies.html' is an example of a _____ path






4. The attribute used to help a screen reader pronounce words correctly






5. True or false: Heading tags are the preferred way to size text.






6. Chrome - Safari - Firefox and Internet Explorer are examples of _________






7. Character entities begin with a ampersand (&) and end with a ______






8. Identify the error: <p>We <i>love the web</p></i> __________: the <i> pair must be fully enclosed in the <p> pair






9. For browsers that don't support video or audio elements - you can ____ an object element within the video or audio element to play a flash file






10. For images with useful content - always code a(n) _____ attribute that describes the image






11. 'images/logo.gif' is an example of a ____ path






12. In addition to the required 'charset' metadata attribute - _____ and keywords attributes should be provided as well for SEO






13. A MIME type describes the contents of a media file and helps a browser determine what to use to open it






14. MIME type for a PDF






15. 'http://' is the _______ of a URL






16. id and class names are __________






17. Three elements used to make descriptions lists: <dl> - _____ - <dd>






18. Ten inline elements for identifying content abbr - cite - code - dfn - em - kbd - q - ____ - strong - var






19. '/login.html' is an example of a ____ path






20. A free text editor that can be used to edit HTML or CSS code






21. description terms (<dt>) can only contain text and ______ elements






22. An HTML document consists of two parts: DOCTYPE ______ and document tree






23. Two common examples of ________: <br> and <img>






24. 3 core technologies in HTML5 ________ - JavaScript APIs - and CSS






25. 'codec' stands for ______






26. Tabs & line returns and extra spaces are ____






27. Command to attach an external style sheet (called 'mystyles.css' to a web page






28. Three tags for special types of text: pre - ______ - address






29. Extension used for a custom icon






30. A free text editor that can be used to edit HTML or CSS code






31. Sockets - Canvas - Video - Web Workers and Local Storage are examples of ___________ ______






32. Three tags for special types of text: pre - ______ - address






33. ________ structure <!-- blah blah blah -->






34. An HTML document consists of two parts: DOCTYPE ______ and document tree






35. You should use ____ to control the space between block elements






36. True or false: Heading tags are the preferred way to size text.






37. <input type="checkbox" name="mailList" checked> In this element 'checked' is a _____ attribute






38. A very important element in the head of a page that provides search engine information






39. Tag for an item within a list (either ordered or unordered)






40. Identify the error: <p>We <i>love the web</p></i> __________: the <i> pair must be fully enclosed in the <p> pair






41. For images that are used solely for decoration - use this attribute - which is known as a ______ attribute






42. Common use of a link element that provides a 'custom' feel to your web page






43. MIME type for a MPG/MPEG






44. Write a hyperlink - that jumps to a placeholder with an id of 'top' on the home page of the site (assume you are not on that page now). The link should read "Return to Home"....






45. True or false: charset metadata is required for HTML5 validation






46. MIME type for a MP3






47. Easiest way to add audio to an HTML5 page






48. HTML code elements should be in lower case except for the ____________ which is in upper case






49. Description lists were called _____ lists in HTML4 - but they were renamed because you can code more than one <dd> element for each <dt> element






50. Six primary HTML5 semantic elements used for structuring a page (and are supported by the modern browsers): header - section - ______ - nav - aside - footer