I need to know for my homework.
Usually you select the text then up near the top there are usually three buttons: bold, italic and underline. Click on the underline button
Oh OK, I see now.
I think you can google the shortcut.
Just for you, Ctrl+b.