+ 3

Help need about CSS/HTML

Place two <p> tag one by one. Ex: <p>first</p> <p>Sec</p> - There will be a gap in the middle of two text. How to hide this gap? I want to place the 2nd <p> right after the 1st <p> Thanks

2nd Jul 2017, 6:07 PM
Washiul Alam Sohan
Washiul Alam Sohan - avatar
4 Answers
+ 5
p { margin: 0px }
2nd Jul 2017, 6:17 PM
MCJEH
MCJEH - avatar
+ 5
@Krishna Thanks brother, ur code works also 😁
2nd Jul 2017, 6:28 PM
Washiul Alam Sohan
Washiul Alam Sohan - avatar
+ 2
use a break tag like this <p>hello <br/>hi</p>
2nd Jul 2017, 6:17 PM
Lord Krishna
Lord Krishna - avatar
+ 2
@MCJEH Thanks brother, It worked 😁
2nd Jul 2017, 6:28 PM
Washiul Alam Sohan
Washiul Alam Sohan - avatar