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
Answered by Sandor M. HTML and CSS tutor

3890 Views

See similar HTML and CSS Mentoring tutors

Related HTML and CSS Mentoring answers

All answers ▸

What is the difference between HTML and CSS?


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


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


What is CSS used for?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning