Last updated on .From the section Football

Sol Bamba headed Cardiff City into the lead in the first half just one day after signing a new contract with the club

Cardiff City beat Queens Park Rangers in a breathless encounter to stay top of the Championship table.

Matt Smith nodded QPR in front before their former winger Junior Hoilett equalised by blocking goalkeeper Alex Smithies' clearance.

Sol Bamba's header gave Cardiff the lead, fuelling a fiery atmosphere at Cardiff City Stadium.

The hosts had chances to score a third but held out comfortably for a fifth win from five league games.

Their victory, coupled with Ipswich's defeat at home to Fulham, means the Bluebirds are now three points clear at the Championship's summit.

There was an expectant crowd at Cardiff City Stadium, but the sense of optimism stemming from the hosts' perfect start to the season was punctured by Smith's opener, as he nodded in from close range after Cardiff goalkeeper Neil Etheridge failed to clear Luke Freeman's cross.

Etheridge will have been disappointed with his hesitant effort, though it paled into insignificance compared to his opposite number Smithies' blunder.

Under pressure from a poor back-pass by his captain Nedum Onuoha, the QPR goalkeeper's clearance ricocheted off Hoilett and straight into the net.

Those two goals were typical of a compelling encounter played at breakneck speed, as entertaining because of its errors and robust challenges as it was because of its goals and chances at both ends.

It was fitting too that this battle should include a headed goal from a corner for Bamba, whose aerial duels with his adversary Smith were so brutal that they could have registered on the Richter scale.

Cardiff maintained the frenetic tempo in the second half and, buoyed by a vociferous home crowd, they twice went close to a third goal as Hoilett had one effort disallowed for a push before Nathaniel Mendez-Laing struck the crossbar.

Kenneth Zohore was then denied by a brilliant close-range save from Smithies as Cardiff continued to press but, with QPR offering little in attack, it was an ultimately simple fifth consecutive league win for Neil Warnock's in-form side.

Cardiff City manager Neil Warnock told BBC Radio Wales:

"Obviously I'm pleased. We made hard work of it at times but I was delighted with the way we played.

"We showed a lot of character, played some good stuff on the front foot, created some good chances. I thought [QPR goalkeeper Alex] Smithies was brilliant.

"It's a happy place and I'm really glad we've got two weeks off now [for the international break] without a press conference."

Queens Park Rangers manager Ian Holloway said:

"We were doing fine when we got in front, we looked pretty comfortable and then it changed when we conceded the first goal, the manner of it, the timing of it. We could have dealt with it better.

"Unfortunately they forced us into a mistake and it knocked the stuffing out of us, got the crowd up. They then go and score from a set-play.

"On the balance of play, that's as good a Cardiff team as I've ever seen. It's going for them at the minute - they're making it go for them. They looked a real solid unit.

"The Bluebirds will be buzzing tonight but we weren't that far off them."