Hi! I would like to know what doctype I should use for my website...here's the code in txt file.

code.txt

Thank you

NOTE: sorry..i can't seem to paste it here...the page is changing whenever i'm trying to paste the code..so i just uploaded it in zshare...

Thanks again..

1 answer

danwellman 5600
2
points

Current best practice is to use the HTML5 doctype - <!DOCTYPE html> - even if you aren't planning on using any new HTML5 elements.

This is clarified in this SO post (which is now quite old)

Answered over 7 years ago by danwellman