What’s wrong with the following HTML markup? <p style"font-size:10px;">Copyright <span>2015</span></p> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

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

14th Dec 2018, 11:41 AM
Musa Matena
Musa Matena - avatar
8 Answers
+ 11
Musa Matena you forgot to add an " = " after the word "style" 👍
14th Dec 2018, 11:45 AM
Bono
Bono - avatar
+ 5
Missing = sign after style attribute. Copyright is not displayed like that. The right way is &copy. It can be corrected as => <p style="font-size:10px;"> &copy A<span> 2015</span></p>
14th Dec 2018, 3:40 PM
Me&You
Me&You - avatar
+ 2
Missing equality sign "=" after "style"
14th Dec 2018, 12:01 PM
Fatima Mahmoud
+ 2
It is supposed to be: <p style="font-size:10px;">Copyright <span>2015</span></p> You omitted '='
15th Dec 2018, 7:55 AM
Emmanuel Uchenna
Emmanuel Uchenna - avatar
+ 2
style=
16th Dec 2018, 5:10 AM
Chaim
Chaim - avatar
+ 1
it should be : <p style = "font-size: 10px">
14th Dec 2018, 4:00 PM
Griffins Kevin Kiprotich
Griffins Kevin Kiprotich - avatar
+ 1
The code is just missing a few things. Is: <p style"font-size:10px;">Copywright<span>2015</span></p> Should be: <p style = "font-size:10px;"> &copy; <span>2015</span> </p> The difference is that the style attribute is correct because it now follows attribute, value syntax. The &copy is the correct way to enter a copyright Symbol I hope this helps please let me know if I can be of any further assistance.
15th Dec 2018, 4:09 AM
David F. Rose
David F. Rose - avatar
0
olvidaste poner el signo de = despues de style y borrar el punto y coma ; que tiene despies de px
15th Feb 2019, 4:48 PM
Isai M. Encarnación
Isai M. Encarnación - avatar