HTML Review Flashcards

1
Q

What does the Body element contain?

A

Everything inside this element is shown inside the main browser window.

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

What does the Head element contain?

A

Meta data. Information about the page (title, meta, link)

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

What is HTML and what does it stand for?

A

Hypertext Markup Language: HTML determines the structure of web pages.

Hypertext: text (often with embeds such as images, too) that is organized in order to connect related items

Markup: a style guide for typesetting anything to be printed in hardcopy or soft copy format
(Typesetting is the way that text is composed using individual types — the symbols, letters, and glyphs in digital systems.)

Language: a language that a computer system understands and uses to interpret commands.

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

What is the purpose of a n html declaration?

A

To tell the browser which version of HTML the page is using (current version is HTML5)

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

What is the purpose of HTML attributes?

A

to add information that configures or adjusts the behavior of elements

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

What two attributes are needed for an img element?

A

src=”This tells the browser where it can find the image file”

alt=”Provides a text description of the image”

(title=”Adds a tool tip when the user hovers over the image”

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

How many HTML headings are there and what is the syntax for each?

A

Six.

<h1></h1>

<h2></h2>

<h3></h3>

<h4></h4>

<h5></h5>

<h6></h6>

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

Name some escape character examples:

A

(no spaces)

Accent on letter
&(letter)acute ;
&eaccute ; (the letter e will be accented)

Amersand
& amp ;
& #38 ;

Reg Trademark
& reg ;
& #174 :

Multiplication Sign
& times ;
& #215 ;

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