Latest Article RSS Feed
SEARCH
 
Article Options
Save as HTML Save as HTML
Add as Favorites Add as Favorites
Notify on Update Notify on Update
 
Attachments
 
None
 
 
Did this help you?
Yes
No
 
Categories
Business
Travel Package from Travel Agents
World News
Jokes
Poland ends Iraq mission
BBC News
Entertainment
How to Submit to ASK.com
Link popularity
Page Rank
Google's Supplemental Index
What is Auto-Redirecting
Doorway Pages & Links
Ethical" Search Engine Optimization Exposed
Search Engine Optimization?
What is SEO Copywriting
Contraception awareness
F1 Singapore
Travel and Tourism
Health Care
Video blog
Sport
Job Employment
 
Themes
Green Blue
Red Black
Red Blue Black
Sunrise
 
Glossary
ABCDE
FGHIJ
KLMNO
PQRST
UVWXY
ZAll   
 
Share
FAQ Home Refer To a Friend Add your comments Print this Article Post Query
Resolving relative URIs
  Posted On: 19-11-2008 452 Views

User agents must calculate the base URI for resolving relative URIs according to [RFC1808], section 3. The following describes how [RFC1808] applies specifically to HTML.

User agents must calculate the base URI according to the following precedences (highest priority to lowest):

  1. The base URI is set by the BASE element.
  2. The base URI is given by meta data discovered during a protocol interaction, such as an HTTP header (see [RFC2616]).
  3. By default, the base URI is that of the current document. Not all HTML documents have a base URI (e.g., a valid HTML document may appear in an email and may not be designated by a URI). Such HTML documents are considered erroneous if they contain relative URIs and rely on a default base URI.

Additionally, the OBJECT and APPLET elements define attributes that take precedence over the value set by the BASE element. Please consult the definitions of these elements for more information about URI issues specific to them.

Note. For versions of HTTP that define a Link header, user agents should handle these headers exactly as LINK elements in the document. HTTP 1.1 as defined by [RFC2616] does not include a Link header field (refer to section 19.6.3).

 
 User Comments
   
There are no comments posted for this article. Click here to become first one to post a comment.
 
 
 Related Articles
There are no related article.