Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
Jon Pertwee
Table title:
Television
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Year </th><th colspan=1 rowspan=1 > Title </th><th colspan=1 rowspan=1 > Role </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <td colspan=1 rowspan=2 > 1947 </td><td colspan=1 rowspan=1 > The Wandering Jew </td><td colspan=1 rowspan=1 > Boemond, Prince of Tarentum </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > Toad of Toad Hall </td><td colspan=1 rowspan=1 > The Judge </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 1958 </td><td colspan=1 rowspan=1 > Ivanhoe </td><td colspan=1 rowspan=1 > Peter the Peddler </td><td colspan=1 rowspan=1 > Episode: "The Swindler" </td></tr>
<tr> <td colspan=1 rowspan=1 > 1959 </td><td colspan=1 rowspan=1 > Glencannon </td><td colspan=1 rowspan=1 > Champagne Charlie </td><td colspan=1 rowspan=1 > Episode: "Champagne Charlie" </td></tr>
<tr> <td colspan=1 rowspan=1 > 1963 </td><td colspan=1 rowspan=1 > The Dickie Henderson Show </td><td colspan=1 rowspan=1 > Uncredited </td><td colspan=1 rowspan=1 > Episode: "The Hypnotist" </td></tr>
<tr> <td colspan=1 rowspan=2 > 1965 </td><td colspan=1 rowspan=1 > A Sight Case of... </td><td colspan=1 rowspan=1 > Uncredited </td><td colspan=1 rowspan=1 > Episode: "The Enemy Within" </td></tr>
<tr> <td colspan=1 rowspan=1 > Mother Goose </td><td colspan=1 rowspan=1 > The Squire </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 1966 </td><td colspan=1 rowspan=1 > David Nixon's Comedy Bandbox </td><td colspan=1 rowspan=1 > Guest </td><td colspan=1 rowspan=1 > 1 episode </td></tr>
<tr> <td colspan=1 rowspan=1 > 1966–1967 </td><td colspan=1 rowspan=1 > Jackanory </td><td colspan=1 rowspan=1 > Storyteller </td><td colspan=1 rowspan=1 > 10 episodes </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=2 > 1967 </td><td class="highlighted"  colspan=1 rowspan=1 > The Avengers </td><td class="highlighted"  colspan=1 rowspan=1 > Brigadier Whitehead </td><td class="highlighted"  colspan=1 rowspan=1 > Episode: "From Venus with Love" </td></tr>
<tr> <td colspan=1 rowspan=1 > Beggar My Neighbour </td><td colspan=1 rowspan=1 > Major Henley </td><td colspan=1 rowspan=1 > 1 episode </td></tr>
<tr> <td colspan=1 rowspan=1 > 1970–1974 </td><td colspan=1 rowspan=1 > Doctor Who </td><td colspan=1 rowspan=1 > Third Doctor </td><td colspan=1 rowspan=1 > 128 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 1974–1978 </td><td colspan=1 rowspan=1 > Whodunnit? </td><td colspan=1 rowspan=1 > Presenter </td><td colspan=1 rowspan=1 > Game show </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 1975 </td><td class="highlighted"  colspan=1 rowspan=1 > The Goodies </td><td colspan=1 rowspan=1 > Reverend Llewellyn Llewellyn Llewellyn Llewellyn </td><td class="highlighted"  colspan=1 rowspan=1 > Episode: "Wacky Wales" </td></tr>
<tr> <td colspan=1 rowspan=1 > 1977 </td><td colspan=1 rowspan=1 > Four Against the Desert </td><td colspan=1 rowspan=1 > Staff </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 1979–1981 </td><td colspan=1 rowspan=1 > Worzel Gummidge </td><td colspan=1 rowspan=1 > Worzel Gummidge </td><td colspan=1 rowspan=1 > 31 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 1982 </td><td colspan=1 rowspan=1 > The Curious Case of Santa Claus </td><td colspan=1 rowspan=1 > Dr. Merryweather </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1982–1984 </td><td colspan=1 rowspan=1 > Superted </td><td colspan=1 rowspan=1 > Spottyman (voice) </td><td colspan=1 rowspan=1 > 36 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 1983 </td><td colspan=1 rowspan=1 > Doctor Who </td><td colspan=1 rowspan=1 > Third Doctor </td><td colspan=1 rowspan=1 > Episode: "The Five Doctors" </td></tr>
<tr> <td colspan=1 rowspan=1 > 1984 </td><td colspan=1 rowspan=1 > Deus Ex Machina </td><td colspan=1 rowspan=1 > The Storyteller (voice) </td><td colspan=1 rowspan=1 > Video game </td></tr>
<tr> <td colspan=1 rowspan=1 > 1985 </td><td colspan=1 rowspan=1 > Do You Know the Milkyway? </td><td colspan=1 rowspan=1 > Dr. Neuross </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 1987–1989 </td><td colspan=1 rowspan=1 > Worzel Gummidge Down Under </td><td colspan=1 rowspan=1 > Worzel Gummidge </td><td colspan=1 rowspan=1 > 22 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 1989 </td><td colspan=1 rowspan=1 > The Further Adventures of SuperTed </td><td colspan=1 rowspan=1 > Spottyman (voice – UK version) </td><td colspan=1 rowspan=1 > 13 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 1992 </td><td colspan=1 rowspan=1 > Virtual Murder </td><td colspan=1 rowspan=1 > Luis Silverado </td><td colspan=1 rowspan=1 > Episode: "A Torch for Silverado" </td></tr>
<tr> <td colspan=1 rowspan=2 > 1993 </td><td colspan=1 rowspan=1 > Doctor Who: Dimensions in Time </td><td colspan=1 rowspan=1 > The Third Doctor </td><td colspan=1 rowspan=1 > TV short </td></tr>
<tr> <td colspan=1 rowspan=1 > The Airzone Solution </td><td colspan=1 rowspan=1 > Oliver Threthewey </td><td colspan=1 rowspan=1 > Video </td></tr>
<tr> <td colspan=1 rowspan=2 > 1994 </td><td colspan=1 rowspan=1 > The Zero Imperative </td><td colspan=1 rowspan=1 > Dr. Jeremiah O'Kane </td><td colspan=1 rowspan=1 > Video </td></tr>
<tr> <td colspan=1 rowspan=1 > Myth Makers Vol. 7: Wendy Padbury </td><td colspan=1 rowspan=1 > Spottyman </td><td colspan=1 rowspan=1 > Video </td></tr>
<tr> <td colspan=1 rowspan=2 > 1995 </td><td colspan=1 rowspan=1 > Discworld </td><td colspan=1 rowspan=1 > Fool / Chucky / Windle Poons (voice) </td><td colspan=1 rowspan=1 > Video game </td></tr>
<tr> <td colspan=1 rowspan=1 > The Young Indiana Jones Chronicles </td><td colspan=1 rowspan=1 > General Von Kramer </td><td colspan=1 rowspan=1 > Episode: "Attack of the Hawkmen" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2015 </td><td colspan=1 rowspan=1 > Lego Dimensions </td><td colspan=1 rowspan=1 > Third Doctor </td><td colspan=1 rowspan=1 > Video game; archive sound </td></tr>
</table>
Question:
What shows and episodes did Jon Pertwee appear in The Goodies and The Avengers?
Answer:
In the 1970s, Jon Pertwee appeared in The Goodies' episode "Wacky Wales" and in 1967, as Brigadier Whitehead in The Avengers episode 'From Venus With Love'.