Online music videos could be given age ratings to help protect children from inappropriate content, British Prime Minister David Cameron has said.

He unveiled a pilot scheme with YouTube and the British Board of Film Classification (BBFC) as he pledged to put strengthening families at the heart of everything the Government does.

The drive will see the impact on families made a standard element of Whitehall’s assessments for policies.

Funding for relationship counselling through Relate is also being doubled to nearly £20m.

Delivering a speech in central London, Mr Cameron said politicians were often nervous of talking about relationships because they did not want to appear judgmental.

“I know that I am far from the perfect father and husband, and I will never pretend otherwise,” he said.

But the premier insisted the issue was too important for the UK government to ignore.

He said he was “proud” that the coalition was recognising marriage in the tax system, and had taken action to ensure people of all sexualities could marry.