Skip to content

Markup Syntaxfehler in Kommentar-Formular #974

@albig

Description

@albig

Das ist syntaktisches HTML falsch und führt je nach Browser zu unerwarteten Ergebnissen:

<p class="comment-form-author">
  <label for="name">Name</label>
   <div class="input-with-icon">
	<i class="forkawesome fa-user"></i>
        <input id="name" name="name" type="text" value="" size="30" maxlength="245" required placeholder="Name*" />
  </div>
</p>

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/p

kurz: innheralb von <p></p> darf kein Block-Element (z.B. <div>)kommen. Das schließt ansonsten den Paragraph unbeabsichtigt.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions