When creating sub events, each of the sub events will inherit the Web Publish checkbox of the main event by default (that is if it was ticked in the main event then all new sub events will have it ticked and vice versa). However for each sub event you can override this option and choose if that specific sub event will or will not be published to the web:

For further details on how to use sub events on the web see Sub Events and Calendar.