To add a tab to a drupal node or a page you need to use hook_menu. Let us start by creating a skeleton module, you can find more info on how to create a Drupal 6 module here. Once of you have the basic structure of a module i.e. info file and module file in place, to add a tab on a particular content-type you need do to the following: