Press O or P to attack. That is it.
The reason half the players asking this get a blunt answer is that the controls are printed in the game's own instructions screen, which most people click straight past.
If O and P do nothing, check that the game window has focus — browser Flash games need to be clicked once before they register keyboard input.