Define Site dtd Document Standard

Asked 1 years ago, Updated 1 years ago, 94 views

While browsing the site, I saw a document with xhtml strict definition of the document standard.

I want to know why you declared it xhtml.

I can't find an example of why I use xhtml even if I search it.

front-end html

2022-09-22 18:14

1 Answers

According to W3Schools,:

XHTML 1.0 Strict
This DTD contains all HTML elements and attributes, but does not contain any representation elements or discarded elements (such as font. Framesets are not allowed. The markup at this time should also be written as a healthy XML.

Why the site decided to follow this DTD... I should ask the person who created the site.


2022-09-22 18:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.