If you are new to HTML and you should read HTML – An Introduction.
Below you are going to find common HTML codes I use on a daily basis. This isn’t super in depth, but it’s enough to give you a great start.
Here are some common HTML codes
Line Break
<BR>
Double Line Break
<BR>
<BR>
Bold
<b>Text in Bold</b>
<strong>Text in Bold</strong>
Italics
<i>Text in Italics</i>
<em>Text in Italics</em>
Underline
<U>Text to be Underlined</U>
<span style=”text-decoration: underline;”>Text to be Underlined</span>
Center
<center>Text being centered</center>
Strike Through
<del>Text to Strike through</del>
Font Size
< Font size=1> This text would be size 1</Font>
< span style=”font-size: xx-small;”> This text would be size 1 or xx-small</span>
Font Color
<Font Color=”Red”>This text would be red</Font>
<span style=”color: #ff0000;”>This text would be red</span>
Insert link
<A href=”http://www.OnlineBusinessBlogger.com”>Online Business Blogger</a>
<A href=”http://www.yourdesiredurl.com”>Your Desired Text</a>
Insert link – Open in New Window
<A href=”http://www.OnlineBusinessBlogger.com” target=”_blank”>Online Business Blogger</a>
<A href=”http://www.YourDesiredURL.com” target=”_blank”>Your Desired Text</a>
Email Link
<A href=”mail to:[email protected]”>Email Brian</a>
<A href=”mail to:[email protected]“>Your Desired Text</a>
List Items
Unordered List (Bullets)
- <UL>
- </UL>
- <UL>
- <Li>Row One Text</Li>
- <Li>Row Two Text</Li>
- </UL>
Ordered List (Numbered List)
- <OL>
- </OL>
- <OL>
- <Li>Row One Text</Li>
- <Li>Row Two Text</Li>
- </OL>
This should give you a good start with some basic HTML codes.