Basic HTML

 
 
          

Text >> Formatting >> Layout

 

Text Layout

These tags will let you control the layout.

HTML Tag Function Sample Ouput
<p></p> Adds a paragraph break after the text. (2 linebreaks). <p>

sample text

</p>
<p align="left"></p> Center text in paragraph. <p align="left">

sample text

</p align="left">

<p align="center"></p> writes text in biggest heading <p align="center">

sample text

</p align="center">
<p align="right"></p> Right justify text in paragraph. <p align="right">

sample text

</p align="right">
<br> Adds a single linebreak where the tag is. <br>
sample text
<nobr></nobr> Turns off automatic linebreaks
- even if text is wider than the window.
<nobr>sample text</nobr>
<wbr></wbr> Allows the browser to insert a linebreak at exactly this point
- even if the text is within tags.
<wbr>sample text</wbr>
<center></center> Center text. <center>
sample text
</center>
<div align="center"><div><div> Center text. <div align="center">
sample text
</div>
<div align="left"></div> Left justify text. <div align="left">
sample text
</div>
<div align="right"></div> Left justify text. <div align="right">
sample text
</div>

Text >> Formatting >> Size Text >> Formatting >> Listing