Basics/Other Flashcards

You may prefer our related Brainscape-certified 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.

A

(form)

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.

A

(legend)

24
Q

Define a drop-down list.

A

(select)

25
Q

What is an (optgroup)?

A

It defines a group of related options in a drop-down list.

26
Q

What is an (option)?

A

It defines an option in a drop-down list.

27
Q

Define a clickable button.

A

(button)

28
Q

Specify a list of pre-defined options for input controls.

A

(datalist)

29
Q

What is a (keygen)?

A

It defines a key-pair generator field (for forms).

30
Q

What is an (output)?

A

It defines the result of a calculation.

31
Q

What is a (script)?

A

It defines a client-side script.

32
Q

What is a (nonscript)?

A

It defines an alternate content for users that do not support client-side scripts.

33
Q

What are the types of literals?

A

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
Q

What are JavaScript objects?

A

They are containers for variables called properties and methods.

35
Q

What is an object method?

A

A function definition stored as an object property.

36
Q

Function parameters are-

A

The names listed in the function definition.

37
Q

Function arguments are-

A

The real values received by the function when it is invoked (called).

38
Q

The onchange event occurs-

A

When the value of an element has been changed

39
Q

What are loops?

A

Loops can execute a block of code a number of times.

40
Q

What are the kinds of loops?

A
  • 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