This site has been taken over by the staff of www.ASPDeveloper.Net

Please report errors to suggest@aspdeveloper.net

BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XHTML
The XHTML <area> Tag
The XHTML <address> Tag
The XHTML <abbr> and <acronym> Tags
The XHTML <a> Tag
Wrapping several generated XHTML pages inside one reusable XHTML frame
<< XALAN
XML DOM >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1326

 

The <base> Tag (XHTML Reference)

Introduction

The <base> tag can be used to define an absolute URL. Once you have defined the base tag you don’t need to enter the full path whenever you reference to a file. Let’s cover this in a short example.

Example

<head>
    <base href=”http://www.topxml.com/images/”>

</head>

If you now want to access an image with the <img> tag, you now just have to use the following:

<img src=”topxml_site.gif”>

The browser automatically converts the above URL to:

<img src=”http://www.topxml.com/images/topxml_site.gif”>

Output

Construction

Name:

Description:

href

Defines an absolute URL

target

Target Frame to load the page into. Can be one of the following:

_blank = new window
_self = same window

_parent = parent window
_top = url will be opened in full body of the window


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Software Specialist, Linux - Finlan
Linux Core Technical Project Manage
Graphics designer at Tanzania. Expe
Integration Specialist Needed - Wor
Virtualization Server Infrastructur

View all Jobs (Add yours)
View all CV (Add yours)






    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP