Indent in block element (<p>, <div>, <td>, etc.)
Assume text is not enclosed in block element:
Make indent:
Where:
HTML (source) code:
<p style="padding-left:40px">Lorem Ipsum is simply dummy text</p>
Indent in list element (<ul>, <ol>)
Assume unordered list (<ul>):
HTML (source) code:
<p>Lorem Ipsum is:</p>
<ul>
<li>simply</li>
<li>dummy</li>
<li>text</li>
</ul>
Make indent:
HTML (source) code:
<p>Lorem Ipsum is:</p>
<ul>
<li>simply</li>
<li> <ul><li>dummy</li></ul></li>
<li>text</li>
</ul>
Outdent
HTML (source) code:
<p style="padding-left:0px">Lorem Ipsum is simply dummy text</p>