[whatwg] What's the element for a paragraph label?

For example:

<p>
  <label>Tip:</label> You should always use the most semantic element!
</p>

Oops, <label> is for inputs, so that's not right! Should I use a <h*>
heading? Doesn't seem right either. Is this a case for <b>? The
specification doesn't mention labels under the <b> definition.

Is there a semantic element that can be used in a situation like this? If
so, I propose adding "label" to the specification for that element.

Then again, maybe this most appropriately a <span>.

Cheers!

Received on Wednesday, 7 September 2016 16:28:59 UTC