Core attributes

Purpose

Attributes that are common to XDIME 2 elements.

You can use the class and id attributes as a style sheet selector, assigning style information to a set of elements or an element with a specific identifier.

Attributes

Attribute Description Type Default Options Use
class Assigns a class name to an element xs:NMTOKEN     optional 
id Unique identifier for an element in a document. You can use this identifier to specify the element as a link target. xs:ID     optional 
style Overrides a style specified in the theme for a page. Not inherited by child elements. xs:string     optional 
title Information about the element. Visual browsers usually display the title on the mouseover event. xs:string     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