Chapter 1 Quiz Flashcards

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?

A

in the head

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?

A

ignores it

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?

A

use the

25
Q

What is the practical use for using the &nbsp?

A

to indent a paragraph

26
Q

How many heading levels are there?

A

6

27
Q

What is the largest and smallest headings?

A

Largest=h1, smallest=h6

28
Q

How do all headings appear, regardless of size?

A

boldface

29
Q

What attribute and value would you use to align a heading to the right?

A

align=”right”

30
Q

The GIF image is best used for what type of image?

A

for animated images, or images with low quality

31
Q

The JPEG image format is best used for what type of image?

A

for high quality images with lots of color and details

32
Q

What tag allows us to add an image?

A

img

33
Q

What attribute of the img tag specifies the image file we want to appear?

A

src

34
Q

How do we include alternative text with our pictures?

A

alt=”text”

35
Q

State a reason we should include alternative text.

A

to show a caption, also required by law for American Disabilities Act so people with issues can see it.

36
Q

What attribute and value of the img tag do you use to wrap text around an image?

A

align=”middle”

37
Q

What do values top, bottom, and middle of the align attribute to?

A

A single line of text will appear with the image.

38
Q

Why is it recommended you use height and width attributes of the img tag?

A

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
Q

What can happen to an image when you resize it using HTML code?

A

it gets distorted.