Quiz questions Flashcards

1
Q

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

A

../ folder above current one, followed by file namehead element

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

Where do you put visible content about the HTML document?

A

Body element

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

Where do theandtags go in a valid HTML document?

A

within the element, head above, body right below it

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

What is the purpose of adeclaration?

A

tell’s the browser which version of html the page is using.

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

Give five examples of HTML element types

A

HTML, HEAD, TITLE, BODY, Paragraph

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

What is the purpose of HTML attributes?

A

provide’s additional information about the contents of an element ; can add functionality

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

Give an example of an HTML entity (escape character)

A

& Ampersand, © Copyright, ® Registered trademark, &trade Trademark

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

How do block-level elements affect the document flow?

A

will always appear to start on a new line in the browser window <h1>, </h1><p>, </p><ul>, and <li></ul>

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

How do inline elements affect the document flow?

A

will always appear to continue on the same line as their neighboring elements. <a> <b> <em> and <img></img></em></b></a>

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

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

A

entire horizontal space of its parent element (container) and equal to height of its content.

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

What are the default width and height of an inline element?

A

Height and width are equal to the content in container.

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

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

A

<ol> , is numbered, </ol>

<ul> are lists that begin with a bullet point rather than characters that indicate order.</ul>

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

Is an HTML list a block element or an inline element?

A

block element.

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

What HTML tag is used to link to another website?

A

<a> </a>

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

What is an absolute URL?

A

Full web address URL that starts with the domain name for the website.

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

What is a relative URL?

A

Linking to other pages within the same site

17
Q

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

A

name of child folder followed by / then the file name.

18
Q

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

A

repeat ../ to go up two folders then follow with file name

19
Q

How do you indicate the relative link to the same directory?

A

just use file name

20
Q

What is the purpose of an HTMLformelement?

A

To refer to different elements that allow you to collect information from visitors to your site

21
Q

Give five examples of form control elements

A

text, password input, text area, buttons, checkboxes, drop down boxes.

22
Q

Give three examples oftypeattribute values for HTMLelements.

A

button color radio

23
Q

Is an HTMLelement a block element or an inline element?

A

inline

24
Q

What are the six primary HTML elements for creating tables?

A
25
Q

What purpose do thetheadandtbodyelements serve?

A

Heading goes in Thead, body should sit inside Tbody