What's wrong with the following HTML markup: <p style"font-size:10px;">Copyright <span>2015</span></p>?

The style attribute is missing an equals (=) sign.

But under the current HTML standards, the double-quotes (") above are optional, as long as the attribute value has no spaces.

SM

Related HTML and CSS Mentoring answers

All answers ▸

How can I centre-align an item horizontally within another element?


Show how you would give all elements that have a class of 'class1', a green background.


Describe the advantages and disadvantages of the three main ways of adding CSS to a website


How do I setup my HTML/CSS environment?