In this paper, using the concept of attractive points of a nonlinear mapping, we obtain a strong convergence theorem of Halperns type [<i>Bull. Amer. Math. Soc</i>. <b>73</b> (1967), 957961] for a wide class of nonlinear mappings which contains nonexpansive mappings, nonspreading mappings and hybrid mappings in a Hilbert space. Using this result, we obtain well-known and new strong convergence theorems of Halperns type in a Hilbert space. In particular, we solve a problem posed by Kurokawa and Takahashi [<i>Nonlinear Anal</i>. <b>73</b> (2010, 15621568].