Hello eagleman,
In my opinion,
HTML5 is the better option. The standard plugins are designed for use in HTML5 documents.
Background:
You can also embed HTML5 videos with BBcode or with Arvid's audio and video player plugin. In the standard plugins (e.g. jQuery, Photoswipe, Lightbox2) scripts are no longer announced with
type="text/javascript, as was mandatory when using
XHTML 1.0 Strict.
In addition, if the browser is notified of doctype XHTML 1.0 Strict but finds HTML5, this can lead to unsightly views because they are not valid. It used to be the case that search engines did not index a website with invalid HTML code. I can't tell you for sure whether this is still the case today. My motto is still the same: Valid HTML code makes the search engine bot happy - if the content fits, as long as you want to be found with your FlatPress blog.
If you find themes where the
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict/ is included in the templates (cpheader.tpl, header.tpl ...), simply replace it with
Code: Select all
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{$fp_config.locale.lang}">
Bonus:
If you want to be really meticulous, open each individual page (entries, contact, the individual panels in the admin area...) and copy the page source text from the browser into the
W3C validation service as direct input.
This will then show you whether the HTML code is valid or contains errors.
This is a little more time-consuming.
However, you can also leave this effort to the person who downloads the theme and applies it to their blog.
With best regards
Frank