Quiz For HTML5 CSS3
Quiz For HTML5 CSS3
Organization: ___________________
1. Select the Doctype that should be specified at the top of all HTML5 documents.
1 Mark
a. <!doctype html5>
b. <! DOCTYPE html PUBLIC "-//W3C//DTD HTML 5.0 Transitional//EN">
c. <! DOCTYPE5 html PUBLIC "-//W3C//DTD HTML 5.0 Transitional//EN">
d. <!doctype html>
5. HTML5 supports Geolocation which can be used to find the location of the person
browsing. 1 Mark
a. True
b. False
6. Following method is used to get the current location of the user in Geolocation in
HTML5? 1 Mark
a. getCurrentPosition()
b. getPosition()
c. getLocation()
d. getCurrentLocation()
9. Select the correct HTML5 element for defining a navigation menu for your site.
1 Mark
a. <nav>
b. <navigation>
c. <menu>
d. <menulist>
11. Under HTML5, script tags will not need to specify which previously required
attribute? 1 Mark
a. type
b. src
c. rel
d. href
13. What is the difference between an ID selector and CLASS selector in CSS? 2 Mark
<!DOCTYPE html5>
<html>
<head>
<title>Vitamin BBC</title>
<title>The best of British television</title>
<link rel="stylesheet" href="./css/VitaminBBC.css"/>
<script href="./js/VitaminBBC.js"></script>
</head>
<body>
<header>
<img src=".\VitaminBBC.png" id="siteLogo"></img>
</header>
<nav> <ul>
<li><a href="./costumedramas.html">Costume Dramas</a>
<ul><li><a href="./austen.html">Jane Austen</a></li>
<li><a href="./brontes.html">The Brontes</a></ul></li>
<li><a href="./mysteries.html">Mysteries</a></li>
</ol> </nav>
<article>
<p class="disclaimer'>DISCLAIMER: These shows may contain mature
subject matter - viewer discretion is advised.</p>
<p id="welcome">Welcome! British television is amazing.</p>
</article>
<aside>
<h1>About</h1>
<p id="welcome">Vitamin BBC is the antidote to mundane
television. <a link="http://www.bbc.co.uk">Click here to visit the
BBC's website</p>, which has complete show listings.</p>
</aside>
<foot>
© 2014 (CISC 282)
</foot>
</body>
</html>
2 Marks