+ 1

All html elements can have attributes! ? What of <!DOCTYPE HTML>

5th Dec 2020, 6:19 AM
Arthur
Arthur - avatar
4 Respostas
+ 6
<!doctype html> is not a tag, it's a declaration that helps the browser to know what type of document it should interpret So that's why it cannot have attributes
5th Dec 2020, 6:45 AM
Mariano Fregosi
Mariano Fregosi - avatar
5th Dec 2020, 6:24 AM
Piyush
Piyush - avatar
0
I'm done with the full html course but I still haven't got an answer for that why
5th Dec 2020, 6:27 AM
Arthur
Arthur - avatar
0
Maybe you skipped something
8th Dec 2020, 11:21 PM
Web Sad
Web Sad - avatar