WordPress provides a way to list your favorite links on the sidebar.
None of my themes that you download from this website has that in-built.

However when you copy the ‘piece of code’ from the WordPress default Installation into the page that is using one of my themes, it really doesnt look good and also makes the page invalid.

here is the fix to the problem. Use the following code in your index.php.

<h2><?php _e('Links'); ?></h2>
<ul><?php get_links('-1', '<li>', '</li>', ' '); ?></ul>

Thats it !