@scott I realized that I have exactly same doctype stray problem in only tags at q-lists and q-view pages. Not in tag pages. What is the source of this problem. I dont think it is related with any plugins I use. Not related with theme.php as well because I dont have any tag-related codes there.