This workshop will provide a brief introduction to the encoding of scholarly texts according to the Text Encoding Initiative (P5). After covering some key-concepts such as markup and modeling, participants will encode a short archival document in English with the main information required to identify the text and to represent its basic structure. The aim is the creation of a well formed and valid TEI XML file. This workshop will also provide some insights into the process of publishing such a file online. No prior knowledge is required.