A markup language is a system for annotating a document in a way that is syntactically distinguishable from the text. The idea and terminology evolved from the  marking up  of paper manuscripts, i.e., the revision instructions by editors, traditionally written with a blue pencil on authors' manuscripts.