is this a valid syntax, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

is this a valid syntax,

<p><i>Bluechips,<i><br/>the certified and tested best ones</p> can i break a line with one part of line being formatted?

1st Jan 2022, 8:35 AM
Debashish Das
Debashish Das - avatar
12 Answers
+ 5
Add / to <i>
2nd Jan 2022, 1:17 PM
Mohamed Bouhadi
Mohamed Bouhadi - avatar
+ 2
You forgotten / in <i>!
1st Jan 2022, 2:19 PM
Filip Jevtić
Filip Jevtić - avatar
+ 1
Yes.
1st Jan 2022, 9:36 AM
Debashish Das
Debashish Das - avatar
+ 1
Where is the fault at my code?
1st Jan 2022, 9:41 AM
Debashish Das
Debashish Das - avatar
+ 1
Done thanks
1st Jan 2022, 9:43 AM
Debashish Das
Debashish Das - avatar
+ 1
Hey There!!! u have forgotten "/" in <i> ---> <p><i>Bluechips,</i> This is the correct syntax. Also, you can definitely break a line with it's one part being formatted <p><i>Bluechips,</i><br />the certified and tested best ones</p> Do note that, you can even use <br> instead of <br/> but since it is not a cleaner way to represent your program, you should go ahead with your syntax. Thank You!!! All the Best Debashish!!
3rd Jan 2022, 4:53 AM
Yash Shah
0
That's a good code
3rd Jan 2022, 7:37 AM
Anant Deshmukh
- 1
I want only the first part of the paragraph to be italic and the rest after break to be normal . Is it possible?
1st Jan 2022, 9:32 AM
Debashish Das
Debashish Das - avatar
- 1
I did the same but it makes all the text in paragraph italics.
1st Jan 2022, 9:37 AM
Debashish Das
Debashish Das - avatar
- 1
Close the i tag as </i>
1st Jan 2022, 1:27 PM
Muhammad Qasim
Muhammad Qasim - avatar
- 1
Not if you mean something like this... <p> <i>Bluechips,</i> <br/>the certified and tested best ones.</p>
2nd Jan 2022, 3:39 PM
El-Sheikh Ibrahim Abba
El-Sheikh Ibrahim Abba - avatar
- 2
Okay thanks..so my <li> Is like this <ul> <li>HTML</li> <li>CSS</li> <li>JScript</li> </ul> Forgot to close the list.
2nd Jan 2022, 6:54 PM
Debashish Das
Debashish Das - avatar