Making online life safer for pupils

How can work in the classroom act alongside legislation to support children to enjoy a safer internet?