Hypertext attributes

Purpose

Attributes that define link targets.

You can use the tel: prefix to define a dial link. If the device supports dialing from links, MCS generates a dial link. The user previewing the page can instantly initiate a phone call by clicking this link. If a device does not support dial links, then a link is not rendered. A phone number must start with a '+' followed by a country code, area code and phone number. It can consist of numbers and separators such as periods '.', hyphens '-', and brackets '(' and ')', for example, href="tel:+12(34)567.89.01".

Attribute

Attribute Description Type Default Options Use
href Defines the link target. It can be a URL or a policy reference. The tel: prefix defines a dial link.       optional 

Example

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2">
  <head>
    <title>anchor</title>
  </head>
  <body>
    <div>
      <a href="http://www.antennasoftware.com" title="Antenna Software Systems">click me!</a>
    </div>
  </body>
</html>

Related topics