To attach a file in Gmail click the little paper clip at the bottom of the compose message window and browse to the file.

EDIT- you can also drag and drop the file onto the window to attach it.

I don't know how to do those other things but if you click the underlined A at the bottom you do get a few formatting options.