Web Programming Final
How do you select an element with id "demo"?
#demo
How do you select elements with class name "test"
.test
HTML escape character code starts with a______ and ends with an ______
: and ;
write out an HTML hyperlink to w3schools.com
<a href="w3schools.com>W3
Who is making the web standards?
World Wide Web Consortium
What property allows you to place an image behind any HTML element?
background-image
What two parts make up an attribute?
name and value
When elements are overlapping, which property allows you to bring an element forward or send it backward?
z-index
What tags do you use to group a set of tags together in order to style them?
<div>
What are the 4 structural HTML tags ?
<html> <head> <title> <body>
Write the correct HTML for making a checkbox
<input type="checkbox">
Write the correct HTML for making a text input field
<input type="text"
What tag is used to give a search engines and browsers extra information about a webpage?
<meta>
What is the HTML for making a drop-down list?
<select>
Which HTML tag is used to define an internal/embedded style sheet?
<style>
What form element would you use to collect a paragraph from a user?
<text area>
How do you display hyperlinks without an underline?
<text-decoration:none;}
Write the three table elements
<th> <tr> <td>
How do you add a background color for all <h1> elements?
H1 {background-color;}
Which HTML attribute specifies an alternate text for an image?
alt=" "
Which property allows you to create rounded corners on any box?
border-radius
What property allows you to turn an inline element into a block level element or vice versa?
display
Which property allows you to take an element out of normal flow and place it as far right or left in its container?
float
What is an absolute path?
links to an external website, includes http://
How to make a list that lists its items with squares?
list-style-type: square;
In the box model, what is the space around the outside of the border?
margin
Which property tells the browser what to do with content that does not fit in its container>
overflow
What is the correct CSS syntax for making all the <p> elements bold?
p { font-weight-bold;}
In the box model, what is the space between the border and any content within?
padding
How do you group selectors?
separate each other with a comma
What attribute do you use to open a link in a new tab/browser windown?
target="_blank"
In the box model, what separates the edge of one box from another?
the border