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.

Related HTML and CSS Mentoring answers

All answers ▸

What’s the difference between a block-level element and an inline element in html?


Explain what an external style sheet (CSS document) is for in a HTML document and write a line of HTML code to import one


How many HTML heading levels are there?


How to create a secure password?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences