HTML question

Discussion in 'macOS' started by Stridder44, Apr 27, 2006.

  1. Stridder44 macrumors 68040

    Stridder44

    Joined:
    Mar 24, 2003
    Location:
    California
    #1
    How do you make a space in between two lines of text
    (space)
    like the one above?


    The reason I ask is because MySpace doesn't allow for and spaces between Sentences in the profile. Like if I wanted to make something look like this:

    "Hi, my name's Kyle.

    I love pizza."

    It would turn out like this:

    "Hi my name's kyle.I love pizza."
     
  2. Doctor Q Administrator

    Doctor Q

    Staff Member

    Joined:
    Sep 19, 2002
    Location:
    Los Angeles
    #2
    If you can use raw HTML, you can use the <br> (break) tag to indicate a forced linebreak.

    So this:
    Code:
    How do you make a space in between two lines of text<br>
    <br>
    like the one above?
    comes out like this:
    Code:
    How do you make a space in between two lines of text
    
    like the one above?
     
  3. techound1 macrumors 68000

    techound1

    Joined:
    Mar 3, 2006
    #3
    You can also do:

    <p> starts a paragraph

    </p> ends a paragraph
     
  4. Stridder44 thread starter macrumors 68040

    Stridder44

    Joined:
    Mar 24, 2003
    Location:
    California
  5. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #5
    To be a bit picky, it's actually
    Code:
    <br />
    
    in XHTML (but not <p />, cause <br /> is an empty element and <p> is not)

    Then again, we're talking about MySpace, and with MySpace, all common sense, good coding standards, and good interaction design goes out the window..
     
  6. Stridder44 thread starter macrumors 68040

    Stridder44

    Joined:
    Mar 24, 2003
    Location:
    California
    #6

    lol
     

Share This Page