World Wide Web and Internet were identified as typical examples of an important class of complex networks - scale-free networks. To understand the mechanisms of such networks, we introduce a model which is a generalization of ER network model. From the results of simulation experiments, we can get a better understanding on the influence of intrinsic fitness and preferential attachment on the generation of scale-free networks.