Helpful HTML Codes

Sometimes I need to improve the appearance of the site. Although I’m not familiar with all the HTML codes, I’ve gathered here some of the useful HTMLs that I’ve been using.

<font size=”2”> to determine the font size </font>

<font face="Arial">example</font>

<!-- to write comment visible only to me -->

<div style="text-align: justify;"> to make text alignment  </div>

<p align="center"> to make paragraph alignment 

&nbsp    adding space in between

<br> line break

<hr> horizontal line

<img src="image.gif" width="40" height="40" border="0" alt="text to describe the image" /> to insert an image

<a href=""> Domain name</a>       an anchor

<embed src="file.mid" width="100%" height="60" align="center"> to embed video or music or slide

<div style="background-color: cyan; text-align: center;"> to add background color

No comments:

Related Posts Plugin for WordPress, Blogger...