Ministers say the advice will cover everything from social media to when a child should get their first smartphone.