+ 9

How many lines are there in this HTML snippet?

I came across the snippet below and I can't figure out the number lines in there. <p> paragraph </p> <pre> preformatted </pre> <p> another paragraph </p> The first <p> has a line plus the margin line at the bottom making it 2 lines. Likewise the following <pre> & the last <p>. That should be 6 lines in total. BUT I have been getting it wrong. Can someone explain how many lines we have 👆 there please?

1st Apr 2017, 4:56 PM
Wisdom Abioye
Wisdom Abioye - avatar
6 odpowiedzi
+ 21
I once saw a quiz like this (in challenges)... the answer was 4...
1st Apr 2017, 5:07 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 13
Maybe 4 i guess🤔🤔
1st Apr 2017, 5:06 PM
Dev
Dev - avatar
+ 9
The question in quiz was something- <p>first</p> <pre>second third</pre> <p>fourth</p> Because of pre tag, the overall output lines will be 4.
1st Apr 2017, 5:09 PM
Sachin Artani
Sachin Artani - avatar
+ 8
3 , I guess!
1st Apr 2017, 5:07 PM
Sachin Artani
Sachin Artani - avatar
+ 8
Hey, that's my question!
1st Apr 2017, 5:38 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar