Pupils learned how to stay safe online as part of a global internet event.
Children at Wakefield’s Greenhill Primary School were among youngsters who took part in Safer Internet Day.
During the event, pupils at the school on Greenhill Road learned about how to block and report people online and the dangers of sharing personal data.
They were told the same rules about bullying and speaking to strangers in public apply on the internet.
The event was held after research found that 49 per cent of children had seen something online which made them feel uncomfortable but had not spoken to anyone about it.
A survey by Action for Children found that 10 per cent of children aged between eight and 17 did not report their concerns because they were worried about getting into trouble.
Action for Children’s Carol Iddon said: “We believe it’s important for parents to ask children about the day they’ve had online, just as they ask about the day they’ve had at school.
“Parents need to be open to discussions about their online worries. The best way to make yourself approachable is to talk to your children about their activity at all times, not just when you’re concerned.”
The research found that of children who did report online worries, around 70 per cent went to their parents, 50 per cent spoke to their friends and 30 per cent spoke to teachers.
Parents are advised to check age requirements before allowing children to join social networking sites.