Why do I see codes with <!DOCTYPE html> <html></html>? How do they have 2 opening html tags? In quizzes it was stated that tags like these can't work, yet their codes still execute just fine on the code playground. How?
6/5/2018 11:40:41 AM
Andre Daniel3 Answers
New Answerwhen you are using HTML5 elements there must be these : <DOCTYPE html>, this is not opening tag, it is DOCTYPE declaration for HTML5. and then <html></html> are main tags. edit : those codes are totally perfect.
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message