Emerson gave Middlesbrough an early lead with a powerful 30-yard shot. Robbie Mustoe added a second from close range before half-time and then Ravanelli increased the advantage after the break following a neat Juninho pass.
West Ham hit back through Michael Hughes but Middlesbrough soon regained control and showed their superiority with a fourth goal in the final minute. Phil Stamp hit the target shortly after his introduction as a substitute for Juninho.
Matthew Le Tissier crowned a fine individual performance with a last- gasp equaliser against Nottingham Forest to give Southampton a share of the points in a 2-2 draw at The Dell. Forest wasted a two-goal lead earned by strikes from Kevin Campbell and Dean Saunders. Richard Dryden pulled one back for the Saints with a header from Simon Charlton's corner after the break and then Le Tissier levelled with a right-foot shot from another corner.