1. Home
  2. Important Tags
  3. Headings:

Headings:

Each

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

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<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>
<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>
<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>
<head> is always included inside a
<div>
<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>
<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>
<div> separate from the rest of the divisions of the work, with a
@type="title"
@type="title" attribute and an
@xml:id
@xml:id with language prefix and unique identifier (cf. Alignment of original text and translations):

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<div type="title" xml:id="la.title">
<head>Phoenissae</head>
</div>
<div type="title" xml:id="la.title"> <head>Phoenissae</head> </div>
<div type="title" xml:id="la.title">
	<head>Phoenissae</head>
</div>

How can we help?

en_GBEN