HTML Flashcards

1
Q

<! Doctype html>

A

.

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

Command pallet shortcut

A

ctrl + shift+ p

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

format document shortcut

A

shift + Alt + f Shortcut

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

Unordered list

A

<ul>
<li></li>
</ul>

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

link

A

<a href=“www.1.com”></a>

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

image

A

<img src=“sun.jpg” alt=“a sun behind a tree”>

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

comment

A

<!-- we write our comments here -->

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

comment shortcut

A

CTRL + /

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

which kind of element is <div></div>

A

Block element

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

which kind of element is <span></span>

A

inline element

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

A

the superscript elemen X²

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

A

The subscript element
oposit of X²

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

Emment=> Child: >

A

main>h1>bold=

<main>
<h1>
<bold></bold>
</h1>
</main>

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

Emment=> Sibiling: +

A

h1+h2+h3=

<h1></h1>

<h2></h2>

<h3></h3>

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

Emment=> Multiplication: *

A

ul>li*3 = <ul>
<li></li>
<li></li>
<li></li>
</ul>

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

Emment=> Item numbering: $

A

ul>li*2>a[href=$] =

<ul>
<li><a></a></li>
<li><a></a></li>
</ul>

17
Q

Emment=> Text: {}

A

li*2>a[href=$]{click Me} =

<li><a>Click ME</a></li>

<li><a>Click ME</a></li>

18
Q

Table=> <td>:

A

the table Data cell element

<table>
<thead>
<tr>
<th>No.</th>
<th>love</th>
<th>faith</th>
<th>hope</th>
</tr>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
<tr>
<td>2.</td>
<td>y</td>
<td>y</td>
<td>x</td>
<td>x</td>
</tr>
</tbody>
</table>

19
Q

Table=><tr>:

A

The Table Row element

<table>
<thead>
<tr>
<th>No.</th>
<th>love</th>
<th>faith</th>
<th>hope</th>
</tr>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
<tr>
<td>2.</td>
<td>y</td>
<td>y</td>
<td>x</td>
<td>x</td>
</tr>
</tbody>
</table>

20
Q

Table=> <th>

A

The Table header element

<table>
<thead>
<tr>
<th>No.</th>
<th>love</th>
<th>faith</th>
<th>hope</th>
</tr>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
<tr>
<td>2.</td>
<td>y</td>
<td>y</td>
<td>x</td>
<td>x</td>
</tr>
</tbody>
</table>

21
Q

Table=><head>

A

the table head element

<table>
<thead>
<tr>
<th>No.</th>
<th>love</th>
<th>faith</th>
<th>hope</th>
</tr>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
<tr>
<td>2.</td>
<td>y</td>
<td>y</td>
<td>x</td>
<td>x</td>
</tr>
</tbody>
</table>

22
Q

Table=><thead>

A

the table head element

<table>
<thead>
<tr>
<th>No.</th>
<th>love</th>
<th>faith</th>
<th>hope</th>
</tr>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
<tr>
<td>2.</td>
<td>y</td>
<td>y</td>
<td>x</td>
<td>x</td>
</tr>
</tbody>
</table>

23
Q

Table=><tbody>

A

the table body element

<table>
<thead>
<tr>
<th>No.</th>
<th>love</th>
<th>faith</th>
<th>hope</th>
</tr>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
<tr>
<td>2.</td>
<td>y</td>
<td>y</td>
<td>x</td>
<td>x</td>
</tr>
</tbody>
</table>

24
Q

Table=><tfoot>

A

the table foot element

<table>
<thead>
<tr>
<th>No.</th>
<th>love</th>
<th>faith</th>
<th>hope</th>
</tr>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
<tr>
<td>2.</td>
<td>y</td>
<td>y</td>
<td>x</td>
<td>x</td>
</tr>
</tbody>
</table>

25
Q

form, label, input

A

<form>
<label>username</label>
<input></input>
<label>password</label>
<input></input>
<label>color of your eyes</label>
<input></input>
<label>your phone number</label>
<input></input>
<label>Do you like cheese?</label>
<input></input>
</form>

26
Q

button

A

<form>
<button>submit</button>
</form>

27
Q

Radio button

A

<form>
<label>Red</label>
<input></input>

<label>Green</label>
<input></input>

<label>Blue</label>
<input></input>
</form>

28
Q

Dropdown Menu

A

<form>
<p>
<label>please select your desire future</label>
<select>
<option>please select</option>
<option>happy</option>
<option>sad</option>
<option>disapointed</option>
</select>
</p>
<button>submit</button>
</form>

29
Q

text erea

A

<form>
<p>
<label>request for your future</label>
<textarea></textarea>
</p>
</form>

30
Q

validation=>

A

<label>enter First Name</label>
<input></input>
_______________________
<label>username</label>
<input></input>

31
Q
A
32
Q
A
33
Q
A
34
Q
A
35
Q
A