2.2 html Flashcards

1
Q

Name three important HTML markups.

A

“Lists

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

How are ordered lists created in HTML?

A

“Using the <ol> tag”

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

What are the possible values for the ‘type’ attribute in an ordered list?

A

“1 (numbers)

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

How are unordered lists created in HTML?

A

“Using the <ul> tag”

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

What are some common list item markers for unordered lists?

A

“disc (bullet

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

How can the list item marker be set using inline styles?

A

“Using the list-style-type property within the <ul> tag”

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

How are definition lists created in HTML?

A

“Using the <dl> tag with <dt> for terms and <dd> for descriptions”

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

How are tables created in HTML?

A

“Using the <table> tag”

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

How can table borders be styled using CSS?

A

“Using the border property in the <style> tag”

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

How can table borders be collapsed into a single border?

A

“Using the border-collapse: collapse; property in CSS”

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

How can the background color of table cells be styled?

A

“Using the background-color property in CSS for <th> and <td> elements”

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

What are the colspan and rowspan attributes used for in tables?

A

“To create irregular tables where cells span multiple columns or rows”

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

How can text be aligned horizontally in table cells?

A

“Using the text-align style property with values like left

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

How can text be aligned vertically in table cells?

A

“Using the vertical-align style property with values like top

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

How can spacing between table cells be adjusted?

A

“Using the border-spacing style property of the <table>

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

How can padding be added inside table cells?

A

“Using the padding style property of <th> and <td> elements”

17
Q

What is the purpose of the <form> element?

A

“For gathering information from the browser to the server”

18
Q

What are widgets (or controls) in HTML forms?

A

“Text fields

19
Q

What is the purpose of the ‘action’ attribute in a <form> tag?

A

“Specifies the URL where the form data should be sent for processing”

20
Q

What is the purpose of the ‘method’ attribute in a <form> tag?

A

“Specifies the HTTP method (e.g.

21
Q

What are the two actions of a submit button in a form?

A

“Encode the data of the form and request that the server execute the server-resident program”

22
Q

How are text fields created in HTML forms?

A

“Using the <input type='text'> tag”

23
Q

How are password fields created in HTML forms?

A

“Using the <input type='password'> tag”

24
Q

How are radio buttons created in HTML forms?

A

“Using the <input type='radio'> tag”

25
How are check boxes created in HTML forms?
"Using the `` tag"
26
How are dropdown menus created in HTML forms?
"Using the `