LONDON Mayor Sadiq Khan has said Londoners "will never be cowed by terrorism" following the attack in which four people died near the Houses of Parliament.

Some 20 people were injured when the attacker drove a car into pedestrians on Westminster Bridge and crashed into railings outside the Palace of Westminster on Wednesday afternoon. A Metropolitan Police officer was one of those killed, as was the attacker.

Parliament Square and the surrounding area has been cordoned off since the incident, which began at about 2.40pm.

In a video message, Mr Khan said: "London is the greatest city in the world, and we stand together in the face of those who seek to harm us and our way of life.

"We always have and we always will. Londoners will never be cowed by terrorism."

"There will be additional armed and unarmed police officers on our streets from tonight in order to keep Londoners, and all those visiting our city, safe.

"I want to reassure all Londoners, and all our visitors, not to be alarmed."

The Met advises a three-step response for members of the public caught up in an attack like the one on Wednesday-Run, hide and tell, using the 999 service.

News Corp Australia

Warba Wangarunya: On-field action and faces in the crowd

Premium Content Warba Wangarunya: On-field action and faces in the crowd

GALLERY: Check out the photos from the carnival at Rockhampton’s Rugby Park.

Australia’s vaccine rollout: How it affects you

Premium Content Australia’s vaccine rollout: How it affects you

We explain what the next stage of the vaccine rollout means for you

Patient airlifted after alleged stabbing in mining town

Premium Content Patient airlifted after alleged stabbing in mining town

One person was flown to Rockhampton with injuries.