+ 1
Is this a valid code <!doctype html lang="en"> ?
Is this a valid code? <!doctype html lang="en"> </html> And why? What's the explanation?
1 ответ
+ 4
No because <!DOCTYPE html> is not the opening tag.
This would be the correct way:
<!DOCTYPE html>
<html lang="en">
</html>