Should MD containing HTML tags be wrapped in `<html>`?

Undermentioned is the content in a Markdown file of mine that immediately proceeds its YAML preamble:

<!docType Markdown>
<head><meta charSet = "UTF-8"></head>

<style>
	:is(h1) {
		font-size: 1.5em; }
	:is(h2, h3, h4, h5, h6, th) {
		border-bottom: 1px solid #484848;
		font-weight: bold;
		font-size: inherit; }
</style>

Markdown content here, like `code`, etcetera.

should this content, and the rest of the file, all be wrapped inside <HTML> tags - as a standard .HTML file would require - because it includes HTML tags in its content? Alternatively, should solely the HTML content be wrapped in them, or should they not be utilized due to the docType declaration?

1 Like