This HTML tag is used to create a paragraph.
What is the <p> tag?
This language controls how HTML elements look on a webpage.
What is CSS?
An HTML image tag is written as <img src=tree.jpg" alt="tree">. This is the error.
What is a missing opening quotation mark before tree.jpg?
This is the HTML tag that create the largest heading with the text Home Page
What is <h1>Home Page</h1>?
What is display: flex;?
This tag is used for the smallest heading on a webpage.
What is the <h6> tag?
This CSS property is used to change text size.
What is font-size?
A CSS rule reads:
p{
color:blue
}
This is the punctuation mark missing after blue.
What is a semi-colon ; ?
This is the CSS property:value pair to make all your text blue.
What is color: blue;?
This is the line of CSS that places items in a column.
What is flex-direction: column;?
This tag is used to display an image on a webpage.
What is the <img> tag?
You would use this CSS property:value combination to center your text on the page.
What is text-align: center; ?
An image has a class named skyline. A student is trying to make the height of this image 50px and writes this:
skyline{
height: 50px;
}
This is the error.
What is missing a period before skyline?
.skyline{
height: 50px;
}
This is the CSS rule to make the background color of your entire page blue.
What is
body{
background-color: blue;
}
This is the line of CSS that makes items wrap to a new line when they run out of space on the screen.
What is flex-wrap: wrap;?
These tags are used to created a bulleted list. (TWO Tags)
What are <ul> and <li>?
In order to link an HTML page to a CSS page named style.css, a user must type in this in the <head> </head> section the code.
What is <link rel="stylesheet" href="style.css">?
A CSS rule reads:
.school{
backgroundcolor green;
}
Identify the TWO errors.
What is missing dash between background & color and missing colon.
.school{
background-color: green;
}
This is the HTML needed to display an image named nyc.jpg
What is <img src="nyc.jpg" alt="nyc">?
This is the line of CSS that will make one child item move to the end of the container.
What is align-self: flex-end;?
All HTML documents start with this declaration.
What is <!DOCTYPE>?
Write a CSS ruleset to make the text color of all your paragraphs blue.
p{
color = blue;
}
A student writes:
<img scr="profilepic.jpg" alt=profilepic
These are the THREE errors.
What is: src mistyped, missing quotes around profilepic, and missing closing tag.
<img src="profilepic.jpg" alt="profilepic">
This is the complete CSS rule that gives every element with class titleSection a height of 50 pixels and font size of 12 pixels.
What is
.titleSection{
height: 50px;
font-size: 12px;
}
These are the TWO flex properties which have been applied to create the layout pictured.
What is justify-content: space-between; and align-items: center;?