Basics/Other Flashcards

0
Q

Define emphasized text.

A

<em></em>

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

What is <b>?</b>

A

It defines bold text.

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

What is <i>?</i>

A

It defines a part of text in an alternate voice or mood.

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

Define smaller text.

A

<small></small>

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

What is <strong>?</strong>

A

It defines important text.

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

Define subscripted text.

A

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

What is ?

A

It defines superscripted text.

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

Define inserted text.

A

<ins></ins>

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

What is <del>?</del>

A

It defines deleted text.

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

What is mark (with little greater/less than symbols around it)?

A

It defines marked/highlighted text.

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

What is (table) use for?

A

It is used to define a table.

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

What element is used to define a table row?

A

(tr)

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

What is (td) used for?

A

It is use to define a table data.

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

What is used to define a table heading?

A

(th)

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

What is (caption) used for?

A

It is used to define a table caption

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

What attribute is used to make a cell span many columns?

A

colspan

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

What is rowspan used for?

A

It is used to make a cell span many rows.

17
Q

What is the id attribute?

A

It is used to uniquely define one table.

18
Q

Define an HTML form for user input.

19
Q

What is (input)?

A

It defines an input control.

20
Q

Define a multiline input control (text area)?

A

(textarea)

21
Q

What is a (label)?

A

It defines a label for an (input) element.

22
Q

What is a (fielder)?

A

They group related elements in a form.

23
Q

Define a caption for a (fieldset) element.

24
Define a drop-down list.
(select)
25
What is an (optgroup)?
It defines a group of related options in a drop-down list.
26
What is an (option)?
It defines an option in a drop-down list.
27
Define a clickable button.
(button)
28
Specify a list of pre-defined options for input controls.
(datalist)
29
What is a (keygen)?
It defines a key-pair generator field (for forms).
30
What is an (output)?
It defines the result of a calculation.
31
What is a (script)?
It defines a client-side script.
32
What is a (nonscript)?
It defines an alternate content for users that do not support client-side scripts.
33
What are the types of literals?
Literal: a constant value, like 3.14 Number literal: can be written with or without decimals and with or without scientific notation (e) String literal: can be written with double or single quotes Expression literal: evaluates (computes) to values Array literal: defines an array Object literal: defines an object Function literal: defines a function
34
What are JavaScript objects?
They are containers for variables called properties and methods.
35
What is an object method?
A function definition stored as an object property.
36
Function parameters are-
The names listed in the function definition.
37
Function arguments are-
The real values received by the function when it is invoked (called).
38
The onchange event occurs-
When the value of an element has been changed
39
What are loops?
Loops can execute a block of code a number of times.
40
What are the kinds of loops?
* for: loops through a block of code a number of times * for/in: loops through the properties of an object * while: loops through a block of code while a specified condition is true * do/while: also loops through a block of code while a specified condition is true