Chapter 1 Quiz Flashcards

(39 cards)

1
Q

What does HTML stand for?

A

Hypertext markup language

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

What are two ways to create HTML?

A

use a web editor or hard coding

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

What does hypertext mean?

A

you can jump from place to place by clicking on text

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

What does markup mean?

A

Tags are placed in to tell the browser what to do

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

What is the program that interprets and then displays HTML code?

A

the browser

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

What do you need to create a web page?

A

Desire, text editor, browser

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

What is the W3C?

A

World Wide Web Consortium; they recommend web standards.

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

What is XHTML?

A

A mix of HTML and XML

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

What extension is necessary when saving your HTML file in notepad?

A

.html

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

What are tags?

A

They are enclosed in and tell the browser what to do

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

Are tags case sensitive?

A

No

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

What is the nesting rule for tags?

A

First in, last out

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

What is an attribute?

A

It goes inside the tag and contains additional information

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

An attribute value must always be enclosed in what?

A

quotes

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

What is the basic structure of an HTML page?

A

HTML, head, body

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

Where does the title go?

17
Q

What goes in the body?

A

the main content of the website

18
Q

Why do we put DOCTYPE in the code?

A

To show we are following the rules of coding.

19
Q

What does the browser do with white space in the html file?

20
Q

How is the p tag different from the br tag?

A

p tag skips a whole line, while the <br></br> tag moves to the next line

21
Q

How do we make text bold and italics?

A

b for bold, i for italics

22
Q

What does the pre tag do for us?

A

allows for pre-formatted text in the browser

23
Q

Name 2 disadvantages of the pre tag.

A
  • text is in different font

- text is going to be on a separate line

24
Q

What is the best way to create horizontal white space?

25
What is the practical use for using the &nbsp?
to indent a paragraph
26
How many heading levels are there?
6
27
What is the largest and smallest headings?
Largest=h1, smallest=h6
28
How do all headings appear, regardless of size?
boldface
29
What attribute and value would you use to align a heading to the right?
align="right"
30
The GIF image is best used for what type of image?
for animated images, or images with low quality
31
The JPEG image format is best used for what type of image?
for high quality images with lots of color and details
32
What tag allows us to add an image?
img
33
What attribute of the img tag specifies the image file we want to appear?
src
34
How do we include alternative text with our pictures?
alt="text"
35
State a reason we should include alternative text.
to show a caption, also required by law for American Disabilities Act so people with issues can see it.
36
What attribute and value of the img tag do you use to wrap text around an image?
align="middle"
37
What do values top, bottom, and middle of the align attribute to?
A single line of text will appear with the image.
38
Why is it recommended you use height and width attributes of the img tag?
You can make image to regular size or make it bigger or smaller to adjust it to the best size that fits the website.
39
What can happen to an image when you resize it using HTML code?
it gets distorted.