I'm doing a course online and the first tag that appeared in the line of typing was this for html, I know it's already in version 5 and other types of tags have already appeared. I opened this question out of curiosity. Is it really necessary to use this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
tag in opening the HTML language or can we just use <!DOCTYPE HTM>
?