\fbox{text}
The \fbox command is exactly the same as the \mbox command, except that it puts a frame around the outside of the box that it creates.
See also: Spaces and Boxes,