Week 2 Flashcards

1
Q

True or False: There is no closing tag for the IMG element?

A

True

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

What do SRC and ALT mean?

A

SLC (source) - tells the browser where it can find the image file
ALT (content)- provides a text description of the image which describes the image if you cannot see it

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

What are the 3 rules for creating images?

A
  1. Save images in the right format
  2. Save images at the right size
  3. Use the correct resolution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When should you save an image using a JPEG format?

A

When you have many different colours in a picture

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

When should you save an image using GIF or PNG formats?

A

When the image has few colours or large areas of the same colour

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

What does HTML stand for?

A

HyperText Markup Language

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

What do browsers ignore?

A
  1. Multiple white spaces
  2. Line breaks and tabs
  3. Unrecognized markup
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do the TABLE ,TR and TD elements mean?

A
  • used to create a table
  • indicates the start of a row
  • indicates each cell of a table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What do the elements colspan and rowspan mean?

A

allows you to stretch a column

allows you to stretch a row

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

What does cellpadding do?

A

It is an attribute that adds space inside each cell of the table

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

What is a form?

A

A document that contains spaces for you to fill in information

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

True or False: Form elements require a closing tag?

A

True

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

What is the FIELDSET element most useful for?

A

Longer forms

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

What are inline elements and what are some examples?

A

Elements that appear to continue on the same line as their neighbouring elements (ex: <a>, <b>, <em>, <img></img>)</em></b></a>

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

What are block elements and what are some examples?

A

Elements that always appear to start on a new line in the browser window
(ex: <h1>, </h1><p>, </p><ul>, <li>)</li></ul>

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

What do DOCTYPES do?

A

They tell browsers which version of HTML you are using

17
Q

What do id and class attributes do?

A

Allow you to identify particular elements

18
Q

What do DIV and SPAN elements do?

A

Allow you to group block-level and inline elements together

19
Q

What do iFrame do?

A

Cuts windows into your web pages through which other pages can be displayed