Internet Market SEO

Internet Marketing and SEO Explained
  • Home
  • About

HTML Codes and Tips for Internet Marketing-Open Links in New Window,Change Link Color, Etc.

Published by on January 8, 2010 01:53 am under HTML Code Help

When doing Internet marketing it is very useful to familiarize yourself with HTML code to help your site look and function better.  I will go over some questions I often get and give you the answers.

How do I make a link open up in a new window or tab?

This can be done for individual links by adding html to the link     <a href=”http://whateveryoursiteis.com” “target=”_blank”>Keyword you want</a>

The target=”_blank” is what makes it open in a new window.

How do I make all of my links open in a new window?

You use an HTML code and paste it in your header before the /header tag.

Here is the code

<script type=”text/javascript”>

jQuery(“a[href^='http:']“).not(“[href*='mydomain.com']“).attr(‘target’,'_blank’);

</script>

You will then put the name of your domain where it says mydomain.com and then all links on your page will open up in a different tab/window.

How do I change the color of Links?

If you have tried to make a linked word a different color in a WordPress blog you have probably noticed that it won’t work.  You have use HTML to make the text the color you want it.

<font color=”blue”>I’m blue!</font>

How do I make my adsense go the left or right with the text around it?

<div style=”float:right;”>ADSENSE CODE</div> Flushes the object right.  Where it says ‘ADSENSE CODE’ you can put anything, eg. a pictures html.

<div style=”float:left;”>ADSENSE CODE</div> Flushes the object left.

How do I make words look highlighted?  How do I make a yellow or different color background for words?

<span style=”background:#FFFF00″>Yellow background</span> Looks like Yellow background.

How do I make text clickable?  How do I make a link?

The easiest way is to use <a href=”http://yoursite.com”>click here</a> Put your keyword in the place of “Click Here“

Some sites (like wikipedia) won’t allow the normal <A HREF link so you have to use [url=http://www.mysite.com]Anchor Text[/url] or  [link]http://www.yoursite.com[/link]

How do I make a NoFollow link?

A nofollow link is used when you want people to visit another site from yours but you don’t want to give that site any link juice.  This is normal when linking to a product site when you are the affiliate.

<a href=”http://nameofsiteyouDon’tWanttoHelp.com/” target=”_top” rel=”nofollow”>Click Here</a>

Keyboard Shortcuts

ctrl + V = Paste

ctrl + C = Copy

For Firefox ctrl + T = Open new tab

Hold down the Ctrl button when you click any link to open it in a new window.

No Comment

Comments are closed.

Posting your comment.

  • Article Directory

    Tired of writing articles? Try Directory Maximizer

    If you haven't already, you need to check out The Keyword Academy
  • Highly Recommended Hosting

    We recommend HostGator because they are the cheapest way to host your sites. Sign up for a baby account with them through this banner and for less than $10 bucks a month you can host as many sites as you want.
  • Recent Posts

    • HTML Codes and Tips for Internet Marketing-Open Links in New Window,Change Link Color, Etc.
    • Internet Marketing and SEO Tips
    • How to Earn Money Posting Links on Google
    • Make Money Online Without Spending a Cent
    • Internet Market Research
    • Increase Search Engine Traffic
    • How to Rank a Website in Google
    • Internet Marketing with The Keyword Academy

Copyright © 2012 Internet Market SEO