We consider the numerical approximation of a two-dimensional magnetohydrodynamic problem by standard finite element techniques. The numerical analysis is made for the case of regular solutions of the continuous problem. Error estimates are derived for the selected numerical method.