gothictrade
Well-Known Coder
Is there an alternative I can type for say, 5 line breaks that doesn't require me typing <br> five times? I feel like its sloppy I don't like how it looks..
Thank you~
Thank you~
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!
Ah~Are you using a paragraph tag? If so, try styling the tag and adjusting the height weight with CSS. If you can, can you please share your code?
<p><strong> Music </strong>
<br> Lana Del Rey
<br> Grimes
<br> The Strokes
<br> Rolling Stones
<br>
<br>
<br>
<br>
<br> Taylor Swift
</p>
In this case a list, but in other cases I would also like to have a similar thing, creating x5 or x7 or x8 line breaks, and I wanted to know how to input that with one line of code ^-^It looks like you're trying to create a list, is that right?
<ul>
<li>unordered list</li>
<li>list item</li>
<li>another list item</li>
</ul>
<ol>
<li>1</li>
<li>2</li>
<li>3</li>
</ol>
<br style = “line-height:x;”><br> and replace x with how many lines you want to break.Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.