Codecademy: Make a Website Flashcards

1
Q

HTML creates the ____ of a page.

A

structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

____ is used to write a page’s content.

A

HTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HTML ____ are the building blocks of web pages.

HTML ____ describe each piece of content on a web page so that the web browser knows how to display it.

A

elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Headings are described by ___ elements. There are ___ levels of heading elements: **h1 **to h6.

The ___ element is used to describe the main heading of the page.

A

heading, six, h1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In addition to paragraphs and images, content can be presented as lists.

In HTML, a bulleted list is described using a ___ element. Each item in the list is placed inside an ___ element.

A

ul, li

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The ____ element contains the actual content of the web page - everything nested inside ____ and ____ shows up in the web browser.

A

body,

,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

CSS creates the ____ of a page.

A

style

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

____ is used to define the design & layout of a page.

A

CSS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

___ is used to control the appearance of an ___ element.

A

CSS, HTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define: “CSS rule”

A

CSS code that styles an HTML element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The CSS properties ____, ____, and ____ can be used to control where an element sits on the page.

A

display, position, float

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A web page is a collection of ____ elements. CSS can control the ____ of an element, like its color, font, and spacing.

A

HTML, design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CSS treats HTML elements like boxes. A box can be “____” or “____”.

A

block, inline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Block elements display on a ___ line (e.g., h1, p, ul, li). Inline elements display on the ___ line as their neighboring elements (e.g., img, a)

A

new, same

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

It’s possible to change whether a box is block or inline by using the ____ property.

A

display

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The ____ property is used to move an HTML element to a precise position on the page. By setting position: relative, you can use the CSS properties ___, ___, and ___ to shift an element away from where it would have normally appeared on the page.

A

position; top, left, bottom, right

17
Q

The ____ property moves an element to the far left or far right of the page.

For example, setting ____: right pulls an element to the far right side of the page, and the surrounding text wraps around it.

A

float