I am working on my site and I am stuck

Hey guys I tried using this code to build a custom page for wordpress and wordpress would not recognize the file. What errors do you think I made if any?

<?php global $more; $more = 0; query_posts('cat=24'); if(have_posts()) : while(have_posts()) : the_post(); ?>
<a href=&amp;quot;<?php the_permalink(); ?>&amp;quot;><?php the_title( '</p> <h3>', 
    </h3> <p>' ); ?></a></p>
<?php endwhile;
< endif;