The TEI Consortium
TEI P5: Guidelines for Electronic Text Encoding and Interchange
Text Encoding Initiative Consortium
2026
P5 Version 4.12.0. Last updated on 28th July 2026, revision 113e933e2
Front Matter
- i. Releases of the TEI Guidelines
- ii. Dedication
- iii. Preface and Acknowledgments
- iv. About These Guidelines
- v. A Gentle Introduction to XML
- vi. Languages and Character Sets
Text Body
- 1 The TEI Infrastructure
- 2 The TEI Header
- 3 Elements Available in All TEI Documents
- 3.1 Paragraphs
- 3.2 Treatment of Punctuation
- 3.3 Highlighting and Quotation
- 3.4 Terms and Glosses, Ruby Annotations, and Equivalents and Descriptions
- 3.5 Simple Editorial Changes
- 3.6 Names, Numbers, Dates, Abbreviations, and Addresses
- 3.7 Simple Links and Cross-References
- 3.8 Lists
- 3.9 Notes, Annotation, and Indexing
- 3.10 Graphics and Other Non-textual Components
- 3.11 Reference Systems
- 3.12 Bibliographic Citations and References
- 3.13 Passages of Verse or Drama
- 3.14 Overview of the Core Module
- 4 Default Text Structure
- 5 Characters, Glyphs, and Writing Modes
- 5.1 Is Your Journey Really Necessary?
- 5.2 Markup Constructs for Representation of Characters and Glyphs
- 5.3 Annotating Characters
- 5.4 Adding New Characters
- 5.5 How to Use Code Points from the Private Use Area
- 5.6 Writing Modes
- 5.7 Examples of Different Writing Modes
- 5.8 Text Rotation
- 5.9 Caveat
- 5.10 Formal Definition
- 6 Verse
- 7 Performance Texts
- 8 Transcriptions of Speech
- 9 Computer-mediated Communication
- 10 Dictionaries
- 11 Manuscript Description
- 11.1 Overview
- 11.2 The Manuscript Description Element
- 11.3 Phrase-level Elements
- 11.4 The Manuscript Identifier
- 11.5 The Manuscript Heading
- 11.6 Intellectual Content
- 11.7 Physical Description
- 11.8 History
- 11.9 Additional Information
- 11.10 Manuscript Parts
- 11.11 Manuscript Fragments
- 11.12 Module for Manuscript Description
- 12 Representation of Primary Sources
- 12.1 Digital Facsimiles
- 12.2 Combining Transcription with Facsimile
- 12.3 Scope of Transcriptions
- 12.4 Aspects of Layout
- 12.5 Transcription and Ruby
- 12.6 Headers, Footers, and Similar Matter
- 12.7 Identifying Changes and Revisions
- 12.8 Other Primary Source Features not Covered in these Guidelines
- 12.9 Module for Transcription of Primary Sources
- 13 Critical Apparatus
- 14 Names, Dates, People, and Places
- 15 Tables, Formulæ, Graphics, and Notated Music
- 16 Language Corpora
- 17 Linking, Segmentation, and Alignment
- 17.1 Links
- 17.2 Pointing Mechanisms
- 17.3 Blocks, Segments, and Anchors
- 17.4 Synchronization
- 17.5 Correspondence and Alignment
- 17.6 Identical Elements and Virtual Copies
- 17.7 Aggregation
- 17.8 Alternation
- 17.9 Stand-off Markup
- 17.10 The standOff Container
- 17.11 Annotations
- 17.12 Connecting Analytic and Textual Markup
- 17.13 Module for Linking, Segmentation, and Alignment
- 18 Simple Analytic Mechanisms
- 19 Feature Structures
- 19.1 Organization of this Chapter
- 19.2 Elementary Feature Structures and the Binary Feature Value
- 19.3 Other Atomic Feature Values
- 19.4 Feature Libraries and Feature-Value Libraries
- 19.5 Feature Structures as Complex Feature Values
- 19.6 Re-entrant Feature Structures
- 19.7 Collections as Complex Feature Values
- 19.8 Feature Value Expressions
- 19.9 Default Values
- 19.10 Linking Text and Analysis
- 19.11 Feature System Declaration
- 19.12 Formal Definition and Implementation
- 20 Graphs, Networks, and Trees
- 21 Non-hierarchical Structures
- 22 Certainty, Precision, and Responsibility
- 23 Documentation Elements
- 24 Using the TEI
Back Matter
- Appendix A Elements
- Appendix B Model classes
- Appendix C Attribute classes
- Appendix D Macros and datatypes
- Appendix E Attributes
- Appendix F Bibliography
- Appendix F.1 Works Cited in Examples in these Guidelines
- Appendix F.2 Works Cited Elsewhere in the Text of these Guidelines
- Appendix F.3 Reading List
- Appendix G Deprecations
- Appendix G.1 Items Scheduled to be Removed
- Appendix G.2 Item Scheduled to become Required
- Appendix H Prefatory Notes
- Appendix H.1 Prefatory Note (November 2007)
- Appendix H.2 Prefatory Note (March 2002)
- Appendix H.3 Introductory Note (November 2001)
- Appendix H.4 Introductory Note (June 2001)
- Appendix H.5 Introductory Note (May 1999)
- Appendix H.6 Preface (April 1994)
- Appendix H.7 Acknowledgments
- Appendix I Colophon
Reference
- Elements 588
- Model classes 127
- Attribute classes 86
- Attributes 275
- Macros and datatypes 43