Search code examples
htmlhtml-emailmeta-tags

<meta> inside <blockquote> allowed?


I looked at the HTML in an email created by Thunderbird:

<blockquote cite="mid:[email protected]" type="cite">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  ...
</blockquote>

It is new for me that <meta> is allowed here.

I guess Thunderbird wants to tell the parser that the content in the blockquote has this charset.

Do the widespread HTML parsers (Chrome, Firefox, IE) support meta in blockquote?


Solution

  • A meta element is only allowed in a blockquote element (or anywhere else in body) if the meta element has

    • an itemprop attribute (from Microdata), or
    • a property attribute (from RDFa).

    (Microdata and RDFa extend HTML5 so that this is allowed.)

    So the meta element from your question is not allowed; your example is invalid.