Coffee project Flashcards

1
Q

Syntax for inline style

A

<p>
</p>

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

what is <textarea> element in HTML form?</textarea>

A

It is text box where user can send question

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

how is <label> and <input></input> element connected?</label>

A

<label> Label </label>
<input></input>

input has id, label has for

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

<input></input>’s attribute include

A

<input></input>

type, id, name, value

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

name 4 “type” attribute in input element

A

input type=”text/checkbox/radio/submit”

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

How to add placeholder text in your HTML form

A

add placeholder = “…” attribute to <input></input> or <textarea> tag</textarea>

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

Instead of placeholder text, you want example value. How to do it?

A

replace “placeholder” attribute with “value” (Text color is black instead of grey)

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

How to insert video in your website

A

<video>
<source></source>
Text if video can't run
</video>

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