<overline>

An overline is a horizontal line that is printed above a line of text, a mathematical symbol, or an illustration in a newspaper or journal.

Rendering expectations

The content of the <overline> element is typically rendered with a line above it.

Specialization hierarchy

The <overline> element is specialized from <ph>. It is defined in the highlighting-domain module.

Content model

(Text | <cite> | <include> | <keyword> | <ph> | <strong> | <em> | <b> | <i> | <line-through> | <overline> | <sup> | <sub> | <tt> | <u> | <q> | <term> | <text> | <tm> | <xref> | <data> | <sort-as> | <draft-comment> | <foreign> | <required-cleanup> )*

Attributes

The following attributes are available on this element: universal attributes and @keyref.

The following attributes are available on this element: universal attributes and the attributes defined below.

@keyref
Specifies a key name that acts as a redirectable reference based on a key definition within a map. See The keyref attribute for information on using this attribute.

For HDITA, the equivalent of @keyref is @data-keyref

Example

This section is non-normative.

The following code sample shows an <overline > element used to provide the highlighting used for mathematical notation:

<p>Overline: <overline><i>x</i></overline> is the 
average value of<i>x<sub>i</sub></i></p>