wp_title()

Function Reference: wp_title(): Retrieves the Title of a post or Page, the Archive (“2012”, “2006 – January”, etc.), or the Category or Author, depending on the query.

<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>