When validating my page (https://www.slamgmt.com), it says:
document type does not allow element "body" here
The body tag is the only tag in the HTML root tag other than the head tag. I have no idea why it's failing.
The change that caused this was switching from XHTML1.0 Strict to XHTML1.0 Frameset. It validates in Strict, but not in the looser Frameset? I'm so confused.
Frameset documents contain a <frameset>
not <body>
.
It is Transitional that is Strict + things that should generally be avoided.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.