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

3686 Views

See similar HTML and CSS Mentoring tutors

Related HTML and CSS Mentoring answers

All answers ▸

Many different data types can be stored on a computer system. Five common data types are string, Boolean, real, character and integer. Give suitable examples of data that could be held in each data type.


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


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


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


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:

© 2025 by IXL Learning