Skip to main content
Toggle navigation
Friendica
Search
2020-11-29 05:48:13
2020-11-28 23:31:31
2020-11-28 23:31:30
25993
mewmew
4 years ago
•
mewmew
4 years ago
•
you know, there are some websites that just flat-out lie about the type of files they're serving
like the file has a .png extension but it's actually a gif or webp
WHY :blobcattableflip:
More
Languages
Share via ...
Seirdy
4 years ago
•
or when they serve an HTML file and use an XML suffix, or vice versa.
More
Languages
Share via ...
Casey Rollins :verified:
4 years ago
•
Okay that’s not too bad, all #
XML
files are valid #
HTML
, at least in syntax, right?
#
HTML
#
xml
More
Languages
Share via ...
mewmew
4 years ago
•
that's not true either way.
for example <strong><em></strong></em> is valid HTML but not XML
XML allows arbitrary tags, HTML doesn't.
More
Languages
Share via ...
mewmew
4 years ago
•
XHTML is always valid HTML though/.
More
Languages
Share via ...
⇧
Seirdy
•Casey Rollins :verified:
•mewmew
•for example <strong><em></strong></em> is valid HTML but not XML
XML allows arbitrary tags, HTML doesn't.
mewmew
•