Subscribe

  • Subscribe
  • Cowpokes Online

HTML Basics for Newbies

Critiqued by Cowboytf | September 27, 2007 .

When I first started blogging, I had no knowledge of what html was and found it to be very intimidating to say the least.  I had lots of help and did lots of research to figure out some simple basic html. 

Showing a link instead of the url:

<a href=”URLHERE.com”>link</a>

To open link in a new window:

<a href=”URLHERE.com” target=”_blank”>link</a>

Adding adsense or ad codes to post:

at the point in the text that you want the add place this code

<div style=”display:block;float:right;margin: 5px 5px 5px 5px;”>

adsense code or banner code here

</div>

you can change the float:right to float:left or float:center to give the look you are after. also you can change the margin to more or less i have just found that 5px seems to work pretty well.(by Cman)

To change the color of an individual link, add a FONT tag within your link code:

<a href=”http://www.yourdomain.com”><font COLOR=”#FF0000″>Your Link</font></A>

To change the size of font:

<FONT SIZE=”4″>
This text should appear in FONT SIZE 4
</FONT>

To change size and color:

<FONT SIZE=”4″ COLOR=”Red”>
Some SIZE 4 text in RED
</FONT>

To make ads or whatever be side by side:

<div 1px;&#8221; style=”&#8221;display:block;float:left;margin:” 1px>

ad code or whatever you want to be side by side goes here
</div>
<div 1px;&#8221; style=”&#8221;display:block;float:right;margin:” 1px>
ditto


then </div>

These should get you started anyways:)  They are very simple and very basic but I needed to learn them.  I used the first and last one the most. 

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

4 Comments so far
  1. Zhu  September 28, 2007 5:53 am

    Useful tips !

    I like HTML actually, it’s much easier than Php. I hate modifying it on WP !

  2. Cowboytf  September 28, 2007 8:03 am

    That’s been one of the hardest things since switching, is learning css and php crap.

  3. Blogging with Cents | Reviewtize  October 8, 2007 1:57 pm

    [...] HTML Basics for Newbies is Good for those that don’t have any knowledge about HTML. [...]

  4. Bobbink Webdesign  October 27, 2007 1:17 pm

    Thanks for the useful tips! :thumbup: