What tag is used to write on a new line?
<p>
In order to change the size of the text in CSS, a user must type in this property.
font-size
The exclusive legal right to print, publish, perform, film, or record literary, artistic, or musical material, and to authorize others to do the same.
copyright
What HAS to go underneath any picture you use?
an attribution (credit for the author)
Write the code that would create this list:
1. Red, Orange
2. Yellow, Green
3. Blue, Purple
<ol>
<li> Red, Orange </li>
<li> Yellow, Green </li>
<li> Blue, Purple </li>
</ol>
What tag starts a list in HTML?
<ul> or <ol>
What symbol goes at the end of every style property?
; semi-colon
Others may not use this work for advertising or to make money.
Non-Commercial
What website do you use for copyright-free images?
Creative Commons
Write the code that would change the background of a page to blue.
body {
background-color: blue;
}
What goes around HTML tags?
< and >
What goes around CSS tags
{ and }
Users may only use this work as is and may make no changes.
No Derivative Works
What is the code for adding an image to a webpage?
<img src="image name" alt="description of image">
Write the code that changes all paragraph text color to red and size 14.
p {
color: red;
font-size: 14px;
}
What is the largest heading tag?
<h1>
Under what tag should you put the code for changing the background of a page?
body
Users of this work must share any new versions under the exact same license.
Share-Alike
What style properties changes the size of images?
width and height
Write the code that makes all images have a width and height of 100, AND puts images in the center of the page.
img {
width: 100px;
height: 100px;
float: center;
}
All HTML documents start with this
<!DOCTYPE html>
In order to add an HTML page to a CSS page, a user must type in this.
<link rel="stylesheet" href="style.css">
Anyone can use the work, in any way that they want.
Public Domain
What style property changes the position of images on the page?
float
Write the code that changes the background color of paragraphs to lavender and the font to cursive.
p {
background-color: lavender;
font-family: cursive;
}