1. Home
  2. Important Tags
  3. Headings:

Headings:

Each <head>, (heading), indicates either the main title of a work, or its internal sections.

It can contain any text or numbering required, and can be inserted at different points in the document.

If it is the first tag within a <div>, it will be used to automatically add entries in the table of contents of each document. Therefore, all the <div> sections into which we divide our edition and which we want to appear in the table of contents must include a <head> as the first tag immediately after the opening <div> and prior to the rest of the divisions, paragraphs or verses contained in it:

<div n="3" type="book" xml:id="grc.3">
	<head>Liber tertius</head>
	<div type="chapter" n="4" xml:id="grc.3.4">
		<head>3.4</head>
		<div type="section" n="1" xml:id="grc.3.4.1">
			<p>Κάδμος δὲ ἀποθανοῦσαν θάψας Τηλέφασσαν, ὑπὸ Θρᾳκῶν ξενισθείς, ἦλθεν εἰς Δελφοὺς περὶ τῆς Εὐρώπης πυνθανόμενος. ὁ δὲ θεὸς εἶπε περὶ μὲν Εὐρώπης μὴ πολυπραγμονεῖν, χρῆσθαι δὲ καθοδηγῷ βοΐ, καὶ πόλιν κτίζειν ἔνθα ἂν αὕτη τοιοῦτον λαβὼν χρησμὸν διὰ Φωκέων ἐπορεύετο, εἶτα … </p>
		</div>
		<div type="section" n="2" xml:id="grc.3.4.2">
			<p> ... Contents ... </p>
		</div>
		… Resto de secciones del capítulo 3.4 …
	</div>
</div>

As each <head> is always included inside a <div>, and these are nested, it is not necessary to indicate the heading level that each one has, as this is assumed from the nesting level of its <div>.

There will be occasions when the main title of the work will be part of the edition itself, so it will be necessary to insert it in an initial <div> separate from the rest of the divisions of the work, with a @type="title" attribute and an @xml:id with language prefix and unique identifier (cf. Alignment of original text and translations):

<div type="title" xml:id="la.title">
	<head>Phoenissae</head>
</div>

How can we help?

en_GBEN