<webaddress> (
Web Address)
Description
Description
This element holds both an electronic Web address, and display text that could become a hypertext link that activates a Web browser and takes the user to the Web page.
If the element is empty, this is a sign that the content of the attribute should also serve as the display text.
<para>Please refer to: <webaddress url="http://www.microsoft.com"/>.</para>
Please refer to: http://www.microsoft.com.
If the element is not empty, the content of the element is presented instead (but the attribute is still used to supply the browser with its address):
<para>Please refer to:
<webaddress url="http://www.microsoft.com">The Evil Empire</webaddress>.</para>
Please refer to: The Evil Empire.
Parent Elements
The elements listed below may directly contain this element.
They are "parent" elements. Elements in referenced groups are included, up to two levels of group nesting.
Model Diagram
The DTD model for this element:
--+(choice of TEXT with elements repeated)
|
|--+(choice) [Objects in Text]
| |
| |-- inlinematheqn -- (elements)
| |
| |-- inlinechemeqn -- (elements)
| |
| |-- inlinegraphic
|
|--+(choice) [Formatting in Text]
| |
| |-- sub -- (TEXT and elements)
| |
| |-- sup -- (TEXT and elements)
| |
| |-- b -- (TEXT and elements)
| |
| |-- i -- (TEXT and elements)
| |
| |-- smallcaps -- (TEXT and elements)
| |
| |-- u -- (TEXT and elements)
| |
| |-- box -- (TEXT and elements)
| |
| |-- roman -- (TEXT and elements)
| |
| |-- script -- (TEXT and elements)
| |
| |-- tt -- (TEXT and elements)
| |
| |-- strikethrough -- (TEXT and elements)
| |
| |-- overline -- (TEXT and elements)
| |
| |-- newpage
| |
| |-- query -- TEXT
|
|--+(choice) [Names in Text]
| |
| |-- famousname -- TEXT
| |
| |-- companyname -- (TEXT and elements)
| |
| |-- institutionname -- (TEXT and elements)
| |
| |-- citation -- TEXT
DTD Definition
The DTD contains the following element and attribute definitions
(note that embedded links are to definitions within the DTD page of this guide):
<!ELEMENT webaddress (#PCDATA | %ObjectsInText; | %FormattingInText; | %NamesInText;)*>
<!ATTLIST webaddress
url CDATA #REQUIRED
target (new | main) "new"
%a-group-CommonIDAttrs;>
.
Defined in DTD section
Inline-level Content : Formatting and Identifying
General Attributes (shared with other elements)
Local Attributes (defined for this element alone)
Attribute:
url (
Uniform Resource Locator)
Description
This required attribute holds the Web address. The prefix "http://" (or "https://", "ftp://", etc.) should be included in the URL, so that the value contains a complete URL.
If the element is empty, then this value should also be rendered as the default content of the element.
Specification
This attribute is required. It has text content.
DTD Definition
url CDATA #REQUIRED
.
Description
This attribute specifies whether or not to show the target Web page in a new browser window. By default it will be shown in a new window, though this behaviour can be made explicit by using the attribute and giving it the value "new". Normally, however, it would be used to override this behvaiour by giving it the value "main", which means "show in main (current) window".
Specification
This attribute is required but has a default value of "new". The allowed values are "new" and "main".
DTD Definition
target (new | main) "new"
.