-4
Guys I’m doing a course online and the first tag that appeared in the typing line was this for html, I know it’s already in version 5 and even have appeared other types of tags. I opened this question out of curiosity. It is really necessary to use this tag <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
in the opening of the HTML language or we can only use <!DOCTYPE HTM>
?
Related: How to change an HTML 4 document to HTML 5? and DOCTYPE declaration of HTML
– rray