why do in output line 10 it is showing × mark declaring unexpected start tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

why do in output line 10 it is showing × mark declaring unexpected start tag

https://code.sololearn.com/W64uG8e4fq4O/?ref=app

2nd Jul 2022, 4:20 AM
Saddam Hussain
Saddam Hussain - avatar
3 Answers
+ 1
L1c Bot style tag should be inside head/body section
2nd Jul 2022, 6:04 AM
A͢J
A͢J - avatar
+ 1
The issue is that you placed the style outside of the html. Usually it goes into the head tag.
2nd Jul 2022, 6:06 AM
Lisa
Lisa - avatar
0
The <style> element must be included inside the <head> of the document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
2nd Jul 2022, 3:39 PM
Oleh Davydenko
Oleh Davydenko - avatar