0

Is number of breaklines tags <br> have a limits in one paragraphy?

If I want to skip 5 lines in my blog, must I have 5 breaklines tags <br> before second paragraph?

1st Sep 2017, 7:48 PM
Delani
Delani - avatar
3 Answers
+ 2
Yes, you need a <br> tag for each line you wish to skip, but it is usually easier and a better practice to use CSS margins and padding etc to get the desired spacing between paragraphs.
1st Sep 2017, 9:42 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
@Delani: To answer your two specific questions: Question #1: Is there a limit on the number of <br> tags you can have in a <p> tag? - Answer: No, there is no limit on the number of <br> tags you can use in a <p> tag or any where in the HTML document. Question #2: Will you need 5 <br> tags to skip 5 lines between paragraphs? - Answer: As a rule of thumb, I don't recommend using <br> tags to create line breaks. Rather, use CSS margins and padding (as stated by @ChaoticDawg) to manage format related changes such as spacing between paragraphs. I've created a Code Playground script for you to review that walks you through how to accomplish this: - https://code.sololearn.com/Wi35349mrKbb/ Be sure to Run the code to review my notes in the rendered HTML page. Also, review the CSS tab to see that code.
2nd Sep 2017, 1:46 AM
David Carroll
David Carroll - avatar
0
Yes
1st Sep 2017, 7:54 PM
Ghauth Christians
Ghauth Christians - avatar