To display the equivalent of the \LaTeX{} macro in HTML, use: LATEX or, if you plan to use it repeatedly, add to the stylesheet: /* LaTeX */ .texL, .texA, .texT, .texE, .texX { font-family: serif; } .texA { left: -0.16em; top: -0.3ex; position: relative; } .texT { left: -0.21em; position: relative; } .texE { left: -0.1667em; top: 0.5ex; position: relative; } .texX { left: -0.125em; position:relative; } and in the HTML file use: LATEX