doctype of what? What kind of document is it?
If you don't remember, check documentation or html basic 1 where you learned that doctype specifies that the document type is html
Yes, if you're building a html document then you have to specify the type as
In this instance, you would require to specify that it is an HTML document.