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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)