Online content providers sign up to code of conduct to protect children