Content Recommendations and data attributes

Vote:
 

When setting title and content data attributes, does anyone know if it's valid to have a element marked as a title inside of an element marked as content and will it have a negative impact on the NLP analysis?

e.g.

<div class="Hero-Block" data-epi-type="content">
  <h1 data-epi-type="title">Text to be recognised as the title</h1>
  <p>First line of intro text to be treated as content</p>
  <p>Second line of intro text to be treated as content</p>
</div>
#299892
Apr 11, 2023 7:54
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.