Useful HTML …Open your links in a new window
Hey Everyone,
I thought I’d share a little bit of easy HTML code with you today. You might want to start a new text document on your desk top and title it “HTML notes tips and crap like that”, or just “HTML”. Your choice. Then just copy ( ctrl C ), paste ( ctrl V ) and save, for an easy to find reference.
How to open your links in a new browser window
To get a link to open in a new browser window, what you do is add the target=”_blank” attribute to your link tag, like this:
<a target=”_blank”href=”http://philsfault.com/blog1“>Opens in a new window</a>
Important!! Make sure you retype the quotes ( ” ) when copy and pasting the above example.
The yellow highlighted parts are your link ( URL ) and your call to action, title, whatever. I used this blog as an example. You can obviously add what ever URL ( link ) you’d like.
This is how it looks on your webpage, blog or on your Splash Page:
I like to play with different HTML codes and tags using this free HTML Editor. Try it, it’s pretty cool.
Important!! Make sure you retype the quotes ( ” ) when copy and pasting the above example in the HTML Editor.
There ya go.
I hope this was useful. Let me know if there’s anything else you’d like to see on this blog. Your comments are always appreciated, so don’t be shy.
and as always. Thanks for all the feedback. You guys really are awesome.
Don’t forget to add your email to my mailing list.
Phil ( philsfault ) Ames
Subscribe to my Blog by Email





@Signup
hmmm, I’ve always used ( _blank”href= ) with no problems. Here, let me try the “space” thingy.
Signup says to add a space
Nope, didn’t seem to work. I like my way better =P.
Let’s discuss this futher, I’ll send you an email.
@Philsfault
okay, so “Signup” has me a bit curious about the HTML coding, so I decided to play around a bit in my HTML editor. In the HTML editor I can place a space between ” href and ” http: , and it works just fine. Not sure why I can’t get the same results here :( . The code I used in this post works however, but I can’t figure out how to get the quotes to show up correctly in my example.
I can’t tell my <div. from my rofl and trying to fiddle around with banners is hard enough. I guess I will always be technically impaired. I added you finally to my friends and family blogroll lol. Now working on some business cards to print. I am glad you are posting more regularly now, gives me something to look forward to.