<TEI> - Root element for TEI document<teiHeader> - Container for metadata<fileDesc> - File description (bibliographic
information)<titleStmt> - Title statement<title> - Title of the work<publicationStmt> - Publication statement<sourceDesc> - Source description<text> - Container for the text itself<body> - Main body of text<p> - Paragraph
@rend attribute for styling:
rend="no-indent", or any custom CSS class<div> - Text division (chapters, sections, parts)
@type attribute: type="chapter",
type="section", etc.@xml:id attribute for linking:
xml:id="ch1" (creates anchor point for table of
contents)<head> - Heading for divisions<front> - Front matter (preface, introduction,
etc.)<back> - Back matter (appendices, notes,
etc.)<lg> - Line group (stanza, verse paragraph)
@rend="center" to center the entire poem<l> - Line of verse
@rend attribute for indentation:
rend="indent", rend="indent2", or
rend="indent3"@rend="center" to center a single line<list> - List container<item> - List item<label> - Label for list item<table> - Table container<row> - Table row<cell> - Table cell
@role="label" for header cells<hi> - Highlighted text (general purpose)
@rend attribute: rend="italic",
rend="bold", rend="underline",
rend="small-caps", etc.<emph> - Semantic emphasis (optional alternative
to <hi>)<quote> - Quotation (inline or block)<signed> - Signature or attribution line
(typically at the end of a quote or letter)
<div class="signature">
(right-aligned, italic)<ref> - Reference or link
@target for URLs:
<ref target="https://example.com">link text</ref>@target with # for internal links:
<ref target="#ch1">Chapter 1</ref><note> - Note or annotation<foreign> - Foreign language text (optional)<title> - Title of a work mentioned in text<lb> - Line break<pb> - Page break
@n attribute for page numbers:
<pb n="42"/><milestone> - Section break or thought break
@rend="stars" for asterisk separator:
<milestone rend="stars"/>@rend="space" for blank space separator:
<milestone rend="space"/><figure> - Container for illustrations
@rend attribute for positioning:
rend="left", rend="right", or
rend="center"<graphic> - Image reference
@url attribute:
<graphic url="images/picture.jpg"/>@width attribute for sizing:
<graphic url="..." width="50%"/> or
<graphic url="..." width="300px"/><figDesc> - Figure description (for alt
text/accessibility)<head> - Caption for the figure (when used within
<figure>)Approximately 34 elements - enough for most literary texts without overwhelming users.
@type - Specify types for various elements@rend - Rendering/display information@n - Numbering@role - Role specification (especially for table
cells)