Codecademy: Make a Website Flashcards
HTML creates the ____ of a page.
structure
____ is used to write a page’s content.
HTML
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.
elements
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.
heading, six, h1
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.
ul, li
The ____ element contains the actual content of the web page - everything nested inside ____ and ____ shows up in the web browser.
body,
,
CSS creates the ____ of a page.
style
____ is used to define the design & layout of a page.
CSS
___ is used to control the appearance of an ___ element.
CSS, HTML
Define: “CSS rule”
CSS code that styles an HTML element
The CSS properties ____, ____, and ____ can be used to control where an element sits on the page.
display, position, float
A web page is a collection of ____ elements. CSS can control the ____ of an element, like its color, font, and spacing.
HTML, design
CSS treats HTML elements like boxes. A box can be “____” or “____”.
block, inline
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)
new, same
It’s possible to change whether a box is block or inline by using the ____ property.
display