The taskpane is an HTML file that is loaded from your web server when the user clicks the taskpane button for your add-in.
You specify where that HTML file lives, and the icon for the button, inside your manifest.xml file.
Take a look at the Script Lab add-in for example.