HTML Flashcards

1
Q

What does HTML stand for?

A

Hyper Text Markup Language

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

HTML describes the structure of Web pages using

A

markup

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

HTML elements are the building blocks of

A

HTML pages

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

HTML elements are represented by

A

tags

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

The <element> declaration defines this document to be HTML5</element>

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

The <element> element is the root element of an HTML page</element>

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

The ______ element contains meta information about the document

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

The _____ element specifies a title for the document

A

<title></title>

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

The _____ element contains the visible page content

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

The _____ element defines a large heading

A

#

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

The ___ element defines a paragraph

A

The

element defines a paragraph

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

HTML links are hyperlinks.

You can click on a link and jump to another document.

True or False

A

True

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

Write an example hyperlink

Link: https://app.revature.com

Text: Visit our learning platform

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

In HTML, images are defined with the ____ tag.

A

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

The tag is empty, it contains attributes only, and does not have a closing tag.

True or False

A

True

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

provide an example of an img tag with the following attributes

src: img_chania.jpg

alt: Flowers in Chania

A
17
Q

What are the two types of list in HTML?

A
  • Ordered List
  • Unordered List
18
Q

An unordered list starts with the ____ tag. Each list item starts with the ____ tag.

A

An unordered list starts with the
tag. Each list item starts with the ***** tag.

19
Q

An ordered list starts with the ____ tag. Each list item starts with the ____ tag.

A

An ordered list starts with the
tag. Each list item starts with the ***** tag.

20
Q

What does CSS stand for ?

A

Cascading Style Sheets

21
Q

___ describes how HTML elements are to be displayed on screen, paper, or in other media

A

CSS

22
Q

CSS is more as it can only control the layout of one web pages at a time.

True or False

A

False

CSS saves a lot of work. It can control the layout of multiple web pages all at once

23
Q

External stylesheets are stored in CSS files

True or False

A

True

24
Q

Provide the 3 ways CSS can be added to HTML elements:

A

Inline - by using the style attribute in HTML elements

Internal - by using a <style> element in the <head> section</p></style>

<p><strong>External</strong> - by using an external CSS file</p>

</style>

25
Q

An _____ ____ is used to apply a unique style to a single HTML element.

A

Inline CSS

ex.

This is a Blue Heading

26
Q

An ______ ___is used to define a style for a single HTML page.

A

internal CSS

…..

<style></style>

body {background-color: powderblue;}

h1 {color: blue;}

p {color: red;}

….

27
Q

An _______ _____ sheet is used to define the style for many HTML pages.

A

external style

28
Q

To use an external style sheet, add a _____ to it in the ____ section of the HTML page:

A

To use an external style sheet, add a link to it in the section of the HTML

<link></link>

//styles.css file

body {

background-color: powderblue;

}

29
Q

In CSS, _________ are patterns used to select the element(s) you want to style.

A

selectors