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

**URL:** <https://talk.commonmark.org/t/should-md-containing-html-tags-be-wrapped-in-html/4681>\
**Category:** Uncategorized\
**Created:** [June 21, 2024, 2:16pm UTC](https://talk.commonmark.org/t/should-md-containing-html-tags-be-wrapped-in-html/4681 "2024-06-21T14:16:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rokejulianlockhart](https://cdn.commonmark.org/user_avatar/talk.commonmark.org/rokejulianlockhart/32/3399_2.png) [@rokejulianlockhart](https://talk.commonmark.org/u/rokejulianlockhart)\
**Post date:** [June 21, 2024, 2:16pm UTC](https://talk.commonmark.org/t/should-md-containing-html-tags-be-wrapped-in-html/4681/1 "2024-06-21T14:16:27Z")

</div>

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

> ```MD
> <!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?
