How do you put a subscript and a superscript on text?

Put Alt+0174 combination to put ® ... in this way, you can put all other superscripts and subscripts with Alt+4 number combinations. Superscript raises the text. Subscript lowers the text.