Week 2 Flashcards
True or False: There is no closing tag for the IMG element?
True
What do SRC and ALT mean?
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
What are the 3 rules for creating images?
- Save images in the right format
- Save images at the right size
- Use the correct resolution
When should you save an image using a JPEG format?
When you have many different colours in a picture
When should you save an image using GIF or PNG formats?
When the image has few colours or large areas of the same colour
What does HTML stand for?
HyperText Markup Language
What do browsers ignore?
- Multiple white spaces
- Line breaks and tabs
- Unrecognized markup
What do the TABLE ,TR and TD elements mean?
- used to create a table
- indicates the start of a row
- indicates each cell of a table
What do the elements colspan and rowspan mean?
allows you to stretch a column
allows you to stretch a row
What does cellpadding do?
It is an attribute that adds space inside each cell of the table
What is a form?
A document that contains spaces for you to fill in information
True or False: Form elements require a closing tag?
True
What is the FIELDSET element most useful for?
Longer forms
What are inline elements and what are some examples?
Elements that appear to continue on the same line as their neighbouring elements (ex: <a>, <b>, <em>, <img></img>)</em></b></a>
What are block elements and what are some examples?
Elements that always appear to start on a new line in the browser window
(ex: <h1>, </h1><p>, </p><ul>, <li>)</li></ul>