NEW
Font size
WorksheetsWeb 101 Assessment
Total questions: 20
Worksheet time: 14mins
Which tags go around the entire HTML Document?
<html></html>
<body></body>
<content></content
<stuff></stuff>
Which header tag would display the largest text?
<h3></h3>
<h1></h1>
<h6></h6>
<h4></h4>
What value goes in the href attribute of an anchor tag?
Your name
The path to the image
The text to display
The URL for the link
How does a browser know that a file is a webpage?
It is opened in the browser
The filename ends with .html
It appears with a browser logo next to it
It contains the <html></html> tag
Which of the following is an IMPROPER set of HTML tags?
<h1</h1>
<p></p>
<img />
<ul><li></li></ul>
Which of the following properly sets the src attribute?
<a src="http://google.com">Google</a>
<iframe src>http://weather.gov</iframe>
<img src="http://image.com/image.jpg" />
<img>src="http://image.com/image.jpg"</img>
What is the relationship between the ul element and the li element?
The ul is the child of the li
The ul is the grandparent of the li
The ul is a sibiling to the li
the ul is the parent of the li
What is the relationship between the td and the tbody elements?
The td is the direct child of the tbody
The td is the cousin of the tbody
The td is the grandparent of the tbody
The td is the grandchild of the tbody
What file extension do you need for HTML files?
.css
.js
.txt
.html
In CSS, which selector would you use to select a paragraph with a class of "bright"?
.bright
#bright
bright.p
p bright
Which Bootstrap class would you use to make a div appear as a large banner header?
jumbotron
dirigible
banner
large
Which Bootstrap class would you use on four columns that will each take up equal space in a row?
col-md-4
col-md-3
col-md-2
col-md-6
In CSS, which selector would you use to select an image with an id of "footer"?
img
footer.img
#footer
.footer
Responsive Web Design is an approach to web design that...
Focuses on responding efficiently and effectively to user input
Makes web pages render well on a variety of devices
Defines special states for HTML elements
Updates styles when a user interacts with them
How would you create a single-line text box in HTML?
<input type="checkbox">
<textbox></textbox>
<text type="input"></text>
<input type="text">
Which of the following is a proper closing tag?
</element>
<element/>
<element>
/<element>
What does a CSS selector do?
selects the value for a style
sets the background color
specifies the elements to style
defines the type of style to apply
Which CSS selector will style all paragraph elements?
h1
.p
paragraph
p
Which of the following properly sets the id attribute on the div?
<div>id="my-div"</div>
<div id="my-div"></div>
<div id=my div></div>
<div class="my-div"></div>
How would you change the background color of a webpage in CSS?
p { background-color: black; }
.body { background color: black; }
body { color; black }
body { background-color: black; }
