using the Type Tool ( T ) or the Selection Tool ( V ).
Open the Character Panel by going to (or press Ctrl+T / Cmd+T ). adobe illustrator underline text