Module 3 Flashcards

1
Q

From the following select the common mistakes to avoid with HTML: (select all that apply)

  1. Encoding the document with the correct character set
  2. Utilizing outdated syntax
  3. Failing to use the correct doctype
  4. Placing elements in incorrect locations
A
  1. Utilizing outdated syntax
  2. Failing to use the correct doctype
  3. Placing elements in incorrect locations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

From the following select the CSS best practices: (select all that apply)

  1. Keep your code organized, use indentations and comment thoroughly
  2. Use classes and IDs sparingly
  3. Use a code validator (a program that ensures your code is accurate and will render properly)
  4. Keep all CSS code internally in your HTML file
A
  1. Keep your code organized, use indentations and comment thoroughly
  2. Use classes and IDs sparingly
  3. Use a code validator (a program that ensures your code is accurate and will render properly)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

From the following select the common mistakes to avoid with CSS: (select all that apply)

  1. Failure to comment your code
  2. Using CSS within an HTML file
  3. Looking for errors in the your CSS code, when they lie in your HTML
  4. Using a code validator
  5. Forgetting that not all browsers are created equal
A
  1. Failure to comment your code
  2. Using CSS within an HTML file
  3. Looking for errors in the your CSS code, when they lie in your HTML
  4. Forgetting that not all browsers are created equal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly