When you mention a television episode in your writing, you can follow the style guide in use by your publisher/teacher.
Usually, the title of the episode is either written in italics or contained within quotation marks.
Ask your publisher/ teach for the style guide in use.
_________________________
Are you talking about writing the equivalent of a screenplay for a television program? I would use as little punctuation as possible. You'll go crazy trying to formalize the language so that your sixth grade teacher would approve. List the character's name, and write the dialogue under the name with the minimum punctuation necessary to get the line across as you intend it. This is not literature in a form that is meant to be
read; it is meant to be performed.
_____________
You can follow the format -- assuming that by 'television episode, you mean a script for one -- used in the industry. What's important is that your script:
- contain zero spelling errors
- names characters consistently
- names scene settings consistently
- write only what can be seen in your action areas
- Start sentences with capital letters; end them with periods or ellipsis (if you don't complete the sentence).