HTML Flashcards

1
Q

What HTML tag is used to link another website

A

the a tag

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

What is an absolute URL

A

external navigation to another website/ domain name

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

What is relative URL

A

relative path inside the website

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

What is the difference between an ordered list and an unordered list in HTML

A

Ordered list is like a recipe for cooking

Unordered lists is like a shopping list

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

Where do you put non-visible content about the HTML document?

A

In the head element

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

Where you put the visible content about the HTML document?

A

The body element

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

Where do the head and body tags go in a valid HTML document

A
open html
open head
close head
open body
close body
close html
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of a !DOCTYPE declaration

A

It was used in the past to describe what version of HTML people were using now it defines the document as HTML5

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

Give five examples of HTML element tags

A

head, body, div, span, h1

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

What is the purpose of HTML attributes

A

They are modifiers to the element tag

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

Give an example of an HTML entity (escape character).

A

® ©

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

block affect the document flow

A

block elements are separated and give the document space

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

How do inline elements affect the document flow

A

inline elements affect only what is in the element

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

What are the default width and height of a block-level element?

A

block level elements take up one enter and the entire width

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

What are the default width and height of a block-level element?

A

Inline elements only take up as much width as they need

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

How do you indicate the relative link to a parent directory?

A

../index.html

17
Q

How do you indicate the relative link to a child directory?

A

blah-blah/child-directory.html

18
Q

How do you indicate the relative link to a grandparent directory

A

../../index.html

19
Q

how do you indicate the relative link to the same directory

A

index.html

20
Q

What is the purpose of an HTML form element

A

To interact and get data from the viewer

21
Q

Give five examples of form control elements

A

input, button, select, textarea, fieldset

22
Q

Give three examples of type attribute for HTML input elements

A

text, radio, checked, name, id

23
Q

Is an HTML input element a block element or an inline element

A

inline element

24
Q

What are the six primary HTML elements for creating tables?

A

table, thead, tbody, th, tr, td

25
Q

what purpose do thead and tbody elements serve

A

thead contains the table head

tbody contains the whatever is stored in the body