This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.



The following code example shows the default and _blank behaviors of the target property.

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
<svg width="5cm" height="7cm" viewBox="0 0 5 7" version="1.1" xmlns=""
  <desc>Two basic link types.</desc>
  <!-- Outline the SVG viewport. -->
  <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="blue"  stroke-width=".03"/>
  <a xlink:href="">
    <ellipse cx="2.5" cy="1.5" rx="2" ry="1" fill="red" />
  <a xlink:href="" target="_blank">
    <ellipse cx="2.5" cy="4.75" rx="2" ry="1" fill="green" />



The target property specifies the name or portion of the target window, frame, pane, tab, or other relevant presentation context (that is, an HTML or XHTML frame, iframe, or object element) where a document is opened when the link is activated.

Use target when there are multiple possible targets for the ending resource, such as when the parent document is a multi-frame HTML or XHTML document.


Standards information

See also

Related pages