Setting the default target frame for links in HTML (HTML + SharePoint)

Never too old to learn a neat trick:

<html>
<head>
<base target="_blank">
</head>
<body>
<a href="
http://www.macaw.nl">macaw</a>
</body>
</html>

Now all links open up in a new window!

Found this trick when working with FrontPage on a SharePoint page. When you select page properties, you can set the default target frame in the “General“ tab, which generates the base target code made bold above.

 

5 Comments

  • Thanks, that was simple. All my effort searching and googling for that command or script. I really appreciate. I needed it for my web project.

  • Now all links open up in a new window!

  • i dont know why the links do not open in main frame i have set the default target
    please help me
    it worked fine with front page then i took it in to dreamweaver and it doesnt work anymore'
    faithcopeland@yahoo.com

  • Pretty portion of content. I simply stumbled upon your blog and in accession capital to claim that
    I acquire in fact loved account your weblog posts. Anyway I'll be subscribing on your feeds or even I fulfillment you access persistently quickly.

  • Cheap VPS or virtual private server is the ultimate solution to costly maintenance web servers. In fact, virtual private server is more advanced than shared hosting & is more like dedicated server, but to emphasize, at a much lower cost. The low cost of virtual private server is the significant difference between shared web-site hosting and dedicated server. A slightly advanced than shared website hosting and has the features of a dedicated server, but it is way cheaper than a dedicated server. The financial advantage of using virtual private server is not the only advantage it could give to its customers or users. Explained below are the additional advantages and disadvantages of using cheap virtual private servers.

    Advantages of Cheap VPS:
    The first thing that you could get from your individual virtual private server is the root access to your server. It means that you can have access to the root level of the hosting server. Thus, you have the ability to put in & configure any programs you require. Additionally, you can also host a limitless number of net sites through Apache's virtual hosts & manage them efficiently. Not only this, but you can also host other services, such as a mail server, an FTP server, or any type of server you want. You may even use VPS for file storage or as a backup for all of your files. Since VPS is isolated from other sites present on the physical server, it is secured that no harmful script or application used by other webmaster, that can harm your website.

    Disadvantages of Cheap VPS:
    There are definite disadvantages in using cheap VPS or virtual private servers. For, you cannot get managed servers. This means that in case you have no idea how to set up & configure your own VPS, it is a huge disadvantage. This disadvantage leads us to get another disadvantage, that is, you are solely responsible of all the installation, maintenance, security measures and updates on your VPS. Thus, in the event you do not possess the high-proficiency in using the VPS to control the working of the net site, the applications used, & the server resources skillfully, you will have a major issue & your VPS becomes unmanageable. Additionally, cheap VPS hosting designs might give you a whole operating process of your own to work with, you still share hardware resources with other VPS users on the host server. Therefore, in the event you are jogging intensive programs that need high performance, you may need to make use of other technique of website hosting, such as co-location or a dedicated server.

    Remember, the great features & capabilities of the dedicated server are available for pricey fees to you. So if your web-site does not need high finish performance, cheap VPS are ideal for you. They are economical, efficient and offer excellent benefits for your website. Therefore, cheap VPS or virtual private servers can be reliable, but since it on a budget plan, do not expect as much as you would from expensive VPS plans.

Comments have been disabled for this content.