The <a> tag creates a hypertext link and supports the following attributes:
- href; A string of up to 128 characters that specifies the URL of the page to load in the browser. The URL can be either absolute or relative to the location of the SWF file that is loading the page. An example of an absolute reference to a URL is http://www.flashdevelopment24.com; an example of a relative reference is /index.html.
- target; Specifies the name of the target window where you load the page. Options include _self, _blank, _parent, and _top. The _self option specifies the current frame in the current window, _blank specifies a new window, _parent specifies the parent of the current frame, and _top specifies the top-level frame in the current window.
For example, the following HTML code creates the link "Go home," which opens www.flashdevelopment24.com in a new browser window:
<a href='http://www.flashdevelopment24.com' target='_blank'>Go home</a>