The internet is a great resource for finding out about almost anything you could think of but, it is important that children are aware of the dangers they might face online, just as they are of those when they're out and about.
Ask your inernet provider about parental controls which are available to help manage your child's internet access.
Encourage your child/children to tell you if something happens online that they don't like. Let them know that you will listen to them.