HTML and CSS Exam Questions With Correct
Answers
What |does |html |stand |for? |- |CORRECT |ANSWER✔✔-Hyper |Text |Markup |Language
Provide |an |example |of |an |an |HTML |5 |tag |and |the |purpose |of |the |tag |- |CORRECT |ANSWER✔✔-
<footer></footer> |, |it |simplified |<div |id= |"footer"> |which |most |coders |were |using |anyways, |
and |it |provided |a |specific |close |tag
What |is |the |purpose |of |an |HTML |comment? |- |CORRECT |ANSWER✔✔-For |the |coder |to |be |able |
to |write |notes |to |themselves |of |other |coders |explaining |their |code. |The |browser |does |not |
show |these |comments |to |the |viewer |of |the |site.
Before |CSS |how |were |HTML |tags |formatted? |Where |was |the |formatting |applied? |- |CORRECT |
ANSWER✔✔-HTML |tags |were |formatted |using |attributes |which |were |placed |in |the |open |tag
EX: |<p |color="red">text</p>
In |what |section |do |you |"build" |your |divs |(apply |html)? |- |CORRECT |ANSWER✔✔-<body>
|</body>
What |do |you |include |in |the |html |tag |to |let |the |browser |know |that |you |are |writing |in |version |5
|of |HTML? |- |CORRECT |ANSWER✔✔-<!DOCTYPE |html>
What |is |the |tag |for |an |image? |- |CORRECT |ANSWER✔✔-<img>
What |is |the |tag |for |a |link? |- |CORRECT |ANSWER✔✔-<a> |</a>
Answers
What |does |html |stand |for? |- |CORRECT |ANSWER✔✔-Hyper |Text |Markup |Language
Provide |an |example |of |an |an |HTML |5 |tag |and |the |purpose |of |the |tag |- |CORRECT |ANSWER✔✔-
<footer></footer> |, |it |simplified |<div |id= |"footer"> |which |most |coders |were |using |anyways, |
and |it |provided |a |specific |close |tag
What |is |the |purpose |of |an |HTML |comment? |- |CORRECT |ANSWER✔✔-For |the |coder |to |be |able |
to |write |notes |to |themselves |of |other |coders |explaining |their |code. |The |browser |does |not |
show |these |comments |to |the |viewer |of |the |site.
Before |CSS |how |were |HTML |tags |formatted? |Where |was |the |formatting |applied? |- |CORRECT |
ANSWER✔✔-HTML |tags |were |formatted |using |attributes |which |were |placed |in |the |open |tag
EX: |<p |color="red">text</p>
In |what |section |do |you |"build" |your |divs |(apply |html)? |- |CORRECT |ANSWER✔✔-<body>
|</body>
What |do |you |include |in |the |html |tag |to |let |the |browser |know |that |you |are |writing |in |version |5
|of |HTML? |- |CORRECT |ANSWER✔✔-<!DOCTYPE |html>
What |is |the |tag |for |an |image? |- |CORRECT |ANSWER✔✔-<img>
What |is |the |tag |for |a |link? |- |CORRECT |ANSWER✔✔-<a> |</a>