HTML Flashcards
What does HTML stand for?
Hyper Text Markup Language
HTML describes the structure of Web pages using
markup
HTML elements are the building blocks of
HTML pages
HTML elements are represented by
tags
The declaration defines this document to be HTML5
The element is the root element of an HTML page
The ______ element contains meta information about the document
The _____ element specifies a title for the document
The _____ element contains the visible page content
The _____ element defines a large heading
#
The ___ element defines a paragraph
The
element defines a paragraph
HTML links are hyperlinks.
You can click on a link and jump to another document.
True or False
True
Write an example hyperlink
Link: https://app.revature.com
Text: Visit our learning platform
In HTML, images are defined with the ____ tag.
The tag is empty, it contains attributes only, and does not have a closing tag.
True or False
True
provide an example of an img tag with the following attributes
src: img_chania.jpg
alt: Flowers in Chania
What are the two types of list in HTML?
- Ordered List
- Unordered List
An unordered list starts with the ____ tag. Each list item starts with the ____ tag.
An unordered list starts with the
tag. Each list item starts with the ***** tag.
An ordered list starts with the ____ tag. Each list item starts with the ____ tag.
An ordered list starts with the
tag. Each list item starts with the ***** tag.
What does CSS stand for ?
Cascading Style Sheets
___ describes how HTML elements are to be displayed on screen, paper, or in other media
CSS
CSS is more as it can only control the layout of one web pages at a time.
True or False
False
CSS saves a lot of work. It can control the layout of multiple web pages all at once
External stylesheets are stored in CSS files
True or False
True
Provide the 3 ways CSS can be added to HTML elements:
Inline - by using the style attribute in HTML elements
Internal - by using a element in the
section
External - by using an external CSS file
An _____ ____ is used to apply a unique style to a single HTML element.
Inline CSS
ex.
This is a Blue Heading
An ______ ___is used to define a style for a single HTML page.
internal CSS
…..
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
….
An _______ _____ sheet is used to define the style for many HTML pages.
external style
To use an external style sheet, add a _____ to it in the ____ section of the HTML page:
To use an external style sheet, add a link to it in the section of the HTML
//styles.css file
body {
background-color: powderblue;
}
In CSS, _________ are patterns used to select the element(s) you want to style.
selectors
