anks, you are directly echoing two lines of HTML instead of concatenating them with the $navigation variable.
Also, based on the number of blank lines, you are apparently echoing other things or have something not enclosed within <?php ?> tags before the doctype tag.