HTML Question !Doctype

I’ve completed the HTML5 & CSS and the Responsive Design with Bootstrap courses.
My question is, why have we not been told to put the “!Doctype HTML” at the beginning of our HTML?
Thank you