XStandard XHTML (Strict or 1.1) WYSIWYG Editor

XStandard - Do it right. The rest will follow.

base

Definition

To resolve relative URLs, Web browsers will use the base URL from where the Web page was downloaded. In some circumstances, it is necessary to instruct the Web browser to use a different base URL, in which case the base element is used.

Example

In the following example, regardless of where the Web page was downloaded from, the CSS file will be downloaded from http://xstandard.com/screen.css and the image will be downloaded from http://xstandard.com/images/logo.gif.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <base href="http://xstandard.com" />
  5. <style type="text/css">@import url('screen.css');</style>
  6. </head>
  7. <body>
  8. <h1><img src="images/logo.gif" alt="XStandard" /></h1>
  9. </body>
  10. </html>

Best practice

If the base element is to be used, it should be defined before any relative URL is used.

Attributes

Basic

href
(URI) Specifies an absolute URL that acts as the base URL for resolving relative URLs. This attribute is required.

Contains

  • Nothing

Navigation

XStandard works for ...

AT&T, IBM, Microsoft, Xerox, Siemens, Philips, American Express, BP, HarperCollins Publishers, Penton, Colgate, FAA, NetIQ, Duke University Health System

What's New In XStandard Version 2.0

  • Support for OS X
  • Keyboard accessible interface
  • Find / replace
  • Support for JavaScript events
  • Enhancements to image and attachment libraries
  • Enhancements to table creation
  • Support for authoring definition lists
  • Ability to save images from the editor to My Computer

Full details on all new features

Most Popular FREE Downloads

  1. XStandard WYSIWYG Editor
  2. HTTP component
  3. ZIP component
  4. Image size component
  5. Base64 component