HTML reference 1: Random useful bits


Open a link in a new window or tab



<a href=”” target=”_blank”> Visit Mysite </a>


<table width=”700″> <tr> <td>

</td> </tr> </table>

Add vertical space between paragraphs or images

<p> &nbsp; </p> <br>

How to show HTML code on a webpage

…so the code appears as text and isn’t executed.

Replace “<” with &lt;
Replace “>” with &gt;
Replace “&” with &amp

Source. More HTML glyph codes here.



Leave a Comment

Your email address will not be published. Required fields are marked *