I just completed HTML Basics II and quiz and noticed a discrepancy in syntax used for style attributes.
The syntax examples given in the lessons do not show a semi-colon at the end of a style attribute. I took the quiz and got all the questions related to font-size, font-family etc. wrong because the quiz says that a semi-colon belongs at the end of the statement even if there is only one attribute.
Which is the correct syntax?
Lesson Example: <p style="font size: 12px">This is sample text.</p> Quiz says correct way is: <p style="font size: 12px;">This is sample text.</p>