HTML Flashcards

1
Q

The DOCTYPE declaration defines what?

A

The document type.

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

The text between the HTML and the /HTML describes what?

A

The web page.

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

The text between the BODY and /BODY is the what?

A

Visible page content?

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

The text between <h1> and </h1> is displayed as what?

A

A heading.

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

The text between <p> and </p> is displayed as what?

A

A paragraph.

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

What is html?

A

A Markup Language for describing web pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
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
8
Q

A markup language is a set of what?

A

Markup tags.

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

The tags describe what?

A

Document content.

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

HTML documents contain what? And what?

A

HTML tags and plain text.

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

HTML documents are also called what?

A

Web pages.

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

What are the tags called at the beginning and end of a line of syntax?

A

Start and end tags or opening and closing tags.

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

How would you define what an HTML element is?

A

Everything between the start tag and the end tag (including the tags).

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

What is the purpose of a web browser?

A

To read html documents and display them as web pages.

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

What is the structure of an HTML page?

A
!DOCTYPE HTML
html
body
h1 header /h1
p paragraph /p
/body
/html
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What year did HTML 2.0 come out?

A

1995

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

What year did HTML 3.2 come out?

A

1997

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

What year did HTML+ come out?

A

1993

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

What year did HTML come out?

A

1991

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

What year did HTML 5 come out?

A

2012

20
Q

What year did XHTML 1.0 come out?

A

2000

21
Q

What year did HTML 4.01 come out?

A

1999

22
Q

What year did XHTML 5 come out?

A

2013

23
Q

What does the <!DOCTYPE> declaration do?

A

Helps the browser to display a web page correctly.

24
Q

What is the doctype declaration for html 5?

A

<!DOCTYPE html>

25
Q

What is the doctype declaration for html 4.01?

A

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”“http://www.w3.org/TR/html4/loose.dtd”>

26
Q

What is the doctype declaration for XHTML 1.0?

A

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”“http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd”>

27
Q

Name 3 professional HTML editors?

A

Adobe Dreamweaver.
Microsoft Expression Web.
CoffeeCup HTML Editor.

28
Q

How many heading tags are there?

A

Six, <h1> to <h6>

29
Q

Which tag do you use in html to create a link?

A

The <a> tag</a>

30
Q

Which tag do you use in html to create an image?

A

The <img></img> tag.

31
Q

What is it called when you have other tags between the start and end of a tag?

A

Nesting.

32
Q

Name 4 web browsers?

A

Google Chrome, Internet Explorer, Firefox and Safari.

33
Q

What do you call an html element with no content?

A

An empty element.

34
Q

Give an example of an empty element.

A

<br></br>

35
Q

Are html tags case sensitive?

A

No

36
Q

What is an html attribute?

A

Attributes provide additional information about an HTML element.

37
Q

Where are attributes always specified?

A

In the start tag.

38
Q

What is the syntax of an HTML attribute?

A

They come in NAME=”VALUE” pairs.

39
Q

Attribute values should always be enclosed in what?

A

“Quotes”

40
Q

Which type of quotes can you enclose an attribute value in?

A

Either “ or ‘ but “ are most common.

41
Q

If an attribute value (eg a line of text) contains a quote like John “shotgun” Nelson how must you change your attribute syntax?

A

Change from “ to ‘

42
Q

Are attribute names and values case sensitive?

A

no but both should be lower case.

43
Q

What shouldn’t you use heading tags for?

A

Making text BIG or BOLD etc

44
Q

What do search engines use headings for?

A

To index the structure and content of your web page.

45
Q

Should headings be in order?

A

Yes

46
Q

How do you create a horizontal line in an HTML page?

A

With the HR tag. <hr>

47
Q

How do you write a comment within your html document that will be ignored by the browser?

A

<!--comment-->