This article is to introduce three formats of electronic document in order of development which are worth watching closely by digital library community. They are SGML (Standard Generalized Markup Language), HTML (Hypertext Markup Language) and XML (Extensible Markup Language), which is the new markup wave. Then have a simple comparison of them.