JOHANNESBURG -- David Villa scored two goals to put Spain's World Cup back on track with a 2-0 victory over Honduras on Monday.
Villa beat three defenders in the 17th minute and put a rising shot past Honduras goalkeeper Noel Valladares, who got a touch on the ball but couldn't keep it out.
Villa scored his 40th international goal in the 51st when his shot from the edge of the area deflected off a defender and went over Valladares.
The Spain striker had a chance for a hat trick but he missed a penalty in the 62nd. Spain earned the penalty when Jesus Navas was tripped inside the right side of the area.
Spain has three points and can still win Group H with a victory over Chile, which earlier beat Switzerland 1-0 and leads with six points. Switzerland has three points and Honduras has zero.
"If we beat Chile we're practically group winners, so we're happy," Villa said. "The good thing is that this result means we depend on ourselves."
Spain came into the match under pressure following a shock 1-0 defeat by Switzerland in their opening game, but Villa single-handedly eased that pressure with a superb individual opener.
Villa's fifth World Cup goal put him even with four Spain players as the country's leading scorer in the competition and moved him within four goals of Raul Gonzalez's record of 44 for the national team.
"It's a shame," Villa said. "I could have passed (the other four players) with a penalty but I'm still happy with this result."
The win improved Spain's chances of avoiding a potential match with Brazil in the round of 16 but Spain coach Vicente del Bosque still wasn't satisfied.
"We didn't play a good game. We had a lot of chances, we should have won by more goals," said Del Bosque, who has won 26 of 28 games. "I'm not especially happy."
For Honduras to make the round of 16, it must beat Switzerland in its last match and hope Chile defeats Spain.
"There's no great analysis needed. We knew there was no tomorrow, that it was a must-win (match)," Honduras captain Amado Guevara said. "Now we need to keep working and move forward."
Spain attacked from the start and created a handful of early chances, including a long-range shot from Villa that beat the outstretched Valladares but hit the crossbar in the seventh minute.
Ramos, whose ninth-minute penalty appeal was waved away, headed Joan Capdevila's cross over at the far post in the 11th.
Spain's defense provided goalkeeper Iker Casillas with some nervous moments soon after as the captain rushed to catch a high ball, then blocked Amado Guevara's shot just before Villa's goal.
Jesus Navas' speed kept Honduras off-kilter, while Fernando Torres -- uncharacteristically -- missed three clear chances in the first half.
The Liverpool striker, making his first start since right knee surgery in April, headed over the bar before sending a shot high in the 33rd. He then wasted Villa's fine pass from inside the area at the close of the half.
Honduras brought striker Georgie Welcome on for Roger Espinoza after the restart but were left exposed as Xavi Hernandez guided the breakout that led to Villa's second goal.
Spain was guilty of blowing great buildups on goal either side of Villa's penalty miss, and David Suazo had Honduras' first shot on goal in the 65th.
"We lacked conviction," Honduras coach Reinaldo Rueda said. "There's nothing much to explain except that we had a superior team in front of us."
Cesc Fabregas came on for Xavi in the 66th and rounded Valladares with his first touch only for Chavez to clear it off the goal line. Fabregas was a constant threat as Spain peppered its opponent's goal to the end, with Ramos coming close in the 67th.
Although Del Bosque said Honduras was a team better suited to Spain's style, the team's poor finishing bothered him.
"There were touches of quality but we were more vulnerable today than against Switzerland," Del Bosque said.