How do you add separator lines in HTML?

10 Answers
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
My assumption with your intention is for visual design purposes, right? Then use CSS on elements that already exist in your HTML. You can use the border property or the pseudo classes before and after and add shapes in the appearance of lines. Never ever use <hr> and <br> because every time you do, a kitten and a puppy starve and die simultaneously. If you want vertical lines, such as you might have between columns of text you could add borders to the left and right of your column divs.
37.1k views · View 2 Upvoters
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
well, to separate line like we use <hr> and <br> tag. <hr> and <br> tag is line breaker, who breaks the line, <br> just break the line and <hr> add line between 2 elements . like this - <p>Hello everybody <br> How are you??<p> so the output will be - Hello everybody How are you?? So this will help you…
37.1k views · View 2 Upvoters
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
I think for separate lines in html design you can add break tag <br>. This tag can separate lines very simply and easily. <p>Whenever I use my computer, I feel very comfortable and realize that how much life has been easy due to this computer world here are so many different tools, software, and internet to make the life too comfortable like the dream world.<br> But I got much disappointed and shocked when I read about the computer illiteracy rate in India. While we are developing in all the fields even in educational fields, then the computer education
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
My assumption with your intention is for visual design purposes, right? Then use CSS on elements that already exist in your HTML. You can use the border property or the pseudo classes before and after and add shapes in the appearance of lines. Never ever use <hr> and <br> because every time you do, a kitten and a puppy starve and die simultaneously. If you want vertical lines, such as you might have between columns of text you could add borders to the left and right of your column divs.
37.1k views · View 2 Upvoters
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
well, to separate line like we use <hr> and <br> tag. <hr> and <br> tag is line breaker, who breaks the line, <br> just break the line and <hr> add line between 2 elements . like this - <p>Hello everybody <br> How are you??<p> so the output will be - Hello everybody How are you?? So this will help you…
37.1k views · View 2 Upvoters
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
I think for separate lines in html design you can add break tag <br>. This tag can separate lines very simply and easily. <p>Whenever I use my computer, I feel very comfortable and realize that how much life has been easy due to this computer world here are so many different tools, software, and internet to make the life too comfortable like the dream world.<br> But I got much disappointed and shocked when I read about the computer illiteracy rate in India. While we are developing in all the fields even in educational fields, then the computer education
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
My assumption with your intention is for visual design purposes, right? Then use CSS on elements that already exist in your HTML. You can use the border property or the pseudo classes before and after and add shapes in the appearance of lines. Never ever use <hr> and <br> because every time you do, a kitten and a puppy starve and die simultaneously. If you want vertical lines, such as you might have between columns of text you could add borders to the left and right of your column divs.
37.1k views · View 2 Upvoters
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
well, to separate line like we use <hr> and <br> tag. <hr> and <br> tag is line breaker, who breaks the line, <br> just break the line and <hr> add line between 2 elements . like this - <p>Hello everybody <br> How are you??<p> so the output will be - Hello everybody How are you?? So this will help you…
37.1k views · View 2 Upvoters
Brian Dys, Design Lead @ PayMaya
Answered Jul 31, 2017
I think for separate lines in html design you can add break tag <br>. This tag can separate lines very simply and easily. <p>Whenever I use my computer, I feel very comfortable and realize that how much life has been easy due to this computer world here are so many different tools, software, and internet to make the life too comfortable like the dream world.<br> But I got much disappointed and shocked when I read about the computer illiteracy rate in India. While we are developing in all the fields even in educational fields, then the computer education

Ready to hire a Service Provider?

You never pay to use CompuWizards: Get cost estimates, contact pros, and even book the job- all for no cost.
Find a Service Provider near me

How do we know this?

Millions of people ask CompuWizards for help with their projects every year. We talk to thousands of local professionals, then we share the information with you.
Whenever I use my computer, I feel very comfortable and realize that how much life has been easy due to this computer world here are so many different tools, software, and internet to make the life too comfortable like the dream world.

I think for separate lines in html design you can add break tag
. This tag can separate lines very simply and easily.

Related Questions