How to customize the output of node content in Drupal 6?
These are the available them files where you can get $content


  node--[type|nodeid].tpl.php
  
  base template: node.tpl.php


Theme hook suggestions are made based on these factors, listed from the most specific template to the least. Drupal will use the most specific template it finds:


  node--nodeid.tpl.php
  
  node--type.tpl.php


node.tpl.php

See node.tpl.php in the Drupal API documentation for more information.

Drupal 7 Template (Theme Hook) Suggestions