Not sure what your asking for.If what I answer is not what you want,you
will need to be more clear on what you are asking .
The output you have is correct so your code is working correctly. good
work ( NOT Sarcasm )
The output you have is fine . With a css you can really alter what you
go there to something nice and clean. You will get automatic indenting
with that and its shows clear structure on the layout