What doctype is considered best practice to use for WordPress?

I think that is currently always a good idea to use the html5 doctype <!DOCTYPE html>. The best answer for use this type can you find in this SE Answer. The question and answer is not only in the context of WordPress, is always a part of serving on frontend.