Search This Blog

Followers

Contact

If interested in advertising,
please contact me by email.



Indented Paragraphs & Lists



#1---To indent a paragraph to look like this:
    example example example example example example example example example example example example example example
Use this code:


<ul>
example example example example example example example example example example example example example example
</ul>



#2---To indent a line within a paragraph to look like this:

example example example example example
    example example example example example
example example example example

Use this code:


example example example example example
<ul>example example example example example</ul>
example example example example



#3---To indent a list to look like this:

  • Mary had a little lamb.
    • Mary had a little lamb.
      • Mary had a little lamb.
      • Mary had a little lamb.
    • Mary had a little lamb.
  • Mary had a little lamb.
  • Mary had a little lamb.
    • Mary had a little lamb.
    • Mary had a little lamb.

Use this code:


<ul>
<li>AAAA
<ul>
<li>BBBB
<ul>
<li>CCCC</li>
<li>DDDD</li>
</ul>
</li>
<li>EEEE</li>
</ul>
</li>
<li>FFFF</li>
</ul>
<ul>
<li>GGGG</li>
<ul>
<li>HHHH</li>
<li>JJJJ</li>
</ul>



If you do not want spaces between the lines (like my example above in #3), take out all the spaces in the code so that it looks like this:


<ul><li>AAAA<ul><li>BBBB<ul><li>CCCC</li><li>DDDD</li></ul></li><li>EEEE</li></ul&gt;</li><li>FFFF</li></ul><ul><li>GGGG</li><ul><li>HHHH</li><li>JJJJ</li></ul>

0 comments ♥ ♥ ♥:

Related Posts with Thumbnails