-
There are three main types of lists in HTML: ordered, unordered, and definition. What are their differences?
Ordered lists are lists where each item in the list is numbered.
Unordered lists are lists that begin with a bullet point.
Definition lists are made up of a set of terms along with the definitions for each of those terms.
-
What is the basic structure of an element used to link to another website?
<a href="http://www.google.com">Google</a>
-
What attribute should you include in a link to open a new tab when the link is clicked?
href=""
is the attribute describes the path to desirable page. -
How do you link to a specific part of the same page?
Relative URLs can be used when linking to pages within a website. They provide a shorthand way of telling the browser where to find your files.
Reading Chapters 10, 11, and 12 on What is CSS, Color, and Text from HTML and CSS: Design and Build Websites
-
What is the purpose of CSS?
CSS treats each HTML element as if it appears inside its own box and uses rules to indicate how that element should look.
-
What does CSS stand for? What does cascading mean in this case?
CSS is an abbreviation for Cascading Style Sheets.
"Cascading" means that styles can fall (or cascade) from one style sheet to another, enabling multiple style sheets to be used on one HTML document.
-
What is the basic structure of a CSS rule?
A CSS rule contains two parts: a selector and a declaration.
Selectors indicate which element the rule applies to.
Declarations indicate how the elements referred to in the selector should be styled.
-
How do you link a CSS stylesheet to your HTML document?
CSS can be include to HTML with using
<link href="" type="text/css" rel="stylesheet" />
.<!DOCTYPE html> <html> <head> <title>Using External CSS</title> <link href="css/styles.css" type="text/css" rel="stylesheet" /> </head> </html>
-
When is it useful to use external stylesheets as opposed to using interal CSS?
When building a site with more than one page, It's necessary to use an external CSS style sheet.
-
Describe what a color hex code is.
hex codes are six-digit codes that represent the amount of red, green and blue in a color, preceded by a pound or hash # sign.
-
What are the three parts of an HSL color property?
HSL Colors contains hue, saturation, lightness values.
Hue is the colloquial idea of color.
Saturation is the amount of gray in a color.
Lightness is the amount of white (lightness) or black (darkness) in a color.
-
In the world of typeface, what are the three main categories of fonts? What are the differences between them?
Serif fonts have extra details on the ends of the main strokes of the letters.
Sans-serif fonts have straight ends to letters, and therefore have a much cleaner design.
Monospace: Every letter in a monospace (or fixed-width) font is the same width.
-
When specifiying font-size, what are the main three units used?
Pixels, percentages, ems
HTML
- Two lists: ordered and unordered.
- A link to your GitHub account.
- A link to the Turing website.
CSS
- Add a color to the text of all of your headings (using hex codes).
- For your h1 heading, add a background color.
- Make your headings a serif font, and make the paragraph text a sans-serif font.
- Change a snipet of paragraph text to be italic using the font-style property.