single-book.php

<?php
get_header();
echo "<div><h1> Book Detail</h1></div>";

while (have_posts()){
	the_post();
	echo "<div>Book Title </div>";
	the_title();
}

get_footer();