Need Help!! explain me,.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Need Help!! explain me,..

<html> <body> <h2>Some <span style="color:red"><h1>works fine,this is h1 nd h2 plus it is red in color</h1>important,this is not h1 but h2 nd red in color</span> Message</h2> <i><h1>It is working in 'try it yourself',this text is sized accr. to h1 plus it is italics</h1></i> </body> </html> so the statement written here that "inline element cannot contain any block level element" its...wrong? since <span> and <b> are inline containing block elements

29th Jun 2017, 5:51 AM
Gaurav Sukhatme
Gaurav Sukhatme - avatar
2 Answers
+ 1
umm....i still don't get it, can you elaborate?
29th Jun 2017, 1:26 PM
Gaurav Sukhatme
Gaurav Sukhatme - avatar
0
not for styling tags no
29th Jun 2017, 7:05 AM
Andre van Rensburg
Andre van Rensburg - avatar