"doctype" is the usual term, rather than "type", fwiw