-7

I've been updating my Stack Exchange profile, and I want to insert a lot(~30) line breaks. I know it's pretty weird.

Here's what I do:

text
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>......
another text

But the <br> takes a lot of space, is there any methods to shorten those?

10
  • Why not use CSS instead?
    – user2575725
    Aug 7, 2017 at 3:25
  • Can I embed CSS in Stack Exchange profile? I'm not sure about that.
    – user6250760
    Aug 7, 2017 at 3:26
  • If <br/> works then I suppose CSS too should work
    – user2575725
    Aug 7, 2017 at 3:27
  • Maybe. I'm not an expert on HTML and CSS.
    – user6250760
    Aug 7, 2017 at 3:28
  • Did some experiment, turns out Stack Exchange profile doesn't support CSS well. At least I can't embed my CSS into it.
    – user6250760
    Aug 7, 2017 at 3:33
  • 1
    Why do you want so many line breaks...?
    – Makoto
    Aug 7, 2017 at 3:51
  • @Makoto I'm making like an "interactive" thingy in my profile. You can check it out on my profile.
    – user6250760
    Aug 7, 2017 at 3:51
  • 2
    Usually people are more creative and actually write applications in their profile. Especially on mobile, I'm no real fan of having to scroll so much for so little.
    – Makoto
    Aug 7, 2017 at 3:53
  • @Makoto I understand what you say, but my ability is not enough to write HTML programs yet.
    – user6250760
    Aug 7, 2017 at 3:54
  • Simply use LESS <br/>'s .. ;)
    – Red
    Aug 8, 2017 at 10:22

1 Answer 1

4

Your approach is fine and the only feasible way to achieve what you want.

The supported markdown / HTML is limited to a strict set. You can force an <br> tag by adding two spaces at the end on an line. But that doesn't work on a line that only has whitespace. You can't use CSS either.

In regard to your takes a lot of space keep in mind that is probably only a concern for you, the editor, as it makes editing maybe a bit clumsy in the online-editor. The aboutme field allows 30,000 characters (didn't check but the backingfield in the database is nvarchar(max) so that can handle 2GB) so you can add lots of <br> before the system starts to bark at you.

Find the limited set of allowed HTML on MSE:

What HTML tags are allowed on Stack Exchange sites?

For standard markdown there is the help and the advanced help.

To get a deeper understanding of what the allowed HTML could do for you see Mozilla Developer Network/HTML

You must log in to answer this question.