Question:

Html code for text alignment?

by  |  earlier

0 LIKES UnLike

could someone please tell me the code to make it to where the text looks like this

a

b

c

d

because on myspace its going like this....

a b c d

thanks :)

 Tags:

   Report

6 ANSWERS


  1. To step by step going up and down afitbeth


  2. a<br/>

    b<br/>

    c<br/>

    d<br/>


  3. Good thinking to the person who thought of ordered lists but no, it wouldn't necessarily be 1,2,3,4 - you can change that easily:

    <ol type="A">

    <li>Item 1</li>

    <li>Item 2</li>

    <li>Item 3</li>

    </ol>

    OR

    <ol type="a">

    <li>Item 1</li>

    <li>Item 2</li>

    <li>Item 3</li>

    </ol>

    http://w3schools.com/html/tryit.asp?file...

    Not sure if an unordered list was mentioned - that gives bullets but you can change those to what you want too:

    <ul>

       <li>An item</li>

       <li>An item</li>

       <li>An item</li>

    </ul>

    http://w3schools.com/html/tryit.asp?file...

    Or you could use tables to set it out but I think
    would be quicker.  You would only have one cell (td) per row (tr).

    <table>

       <tr>

          <td>A cell</td>

       </tr>

       <tr>

          <td>A cell</td>

       </tr>

    </table>

  4. You could have an ordered list but it would use numbers (1,2,3...) instead of letters (a,b,c...)

    <ol>

    <li>First option</li>

    <li>Second option</li>

    <li>Third option</li>

    </ol>

    Is that any help to ya?

  5. <pre>

    a

    b

    c

    d

    </pre>

  6. Put <br> after whatever is typed.

    For Example:

    Sunshine <br>

    Beach <br>

    If you want your text centered in the text box type <center> at the begining of whatever is typed.

    For Example:

    <center>

    Sunshine <br>

    Beach <br>



Question Stats

Latest activity: earlier.
This question has 6 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.