+ 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?
6 Respuestas
+ 21
I once saw a quiz like this (in challenges)... the answer was 4...
+ 13
Maybe 4 i guess🤔🤔
+ 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.
+ 8
3 , I guess!
+ 8
Hey, that's my question!