<foreign>

The <foreign> tag marks a word or phrase written in a language different from the surrounding text. It is typically rendered in italics and is often paired with an xml:lang attribute.

Use <foreign> for genuine language changes, not just for emphasis. For emphasis within the same language, use <em> instead.

Syntax

Attributes

Attributes for <foreign>
AttributeRequired?Values
xml:lang = "…"optionalstring

Children

The following may appear as children: <custom> <dataurl> <fillin> <m> <pf> <prefigure> <pubtitle> <quantity> <var> <xref> Text

Parents

This element may appear as an immediate child of the following elements: <alert> <angles> <articletitle> <attribution> <author> <biblio> <caption> <cell> <creator> <dataurl> <dblbrackets> <delete> <description> <em> <entity> <fn> <foreign> <h> <idx> <insert> <instruction> <intertext> <li> <line> <minilicense> <p> <pubtitle> <q> <role> <see> <seealso> <shortlicense> <shorttitle> <sq> <stale> <subtitle> <support> <term> <title> <url> <xref> <year>

Examples