A markup language is a system for annotating text with tags or codes to define its structure and presentation on digital platforms like the web.