Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
An example of WordPress comments form
<div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title">Laisser un commentaire
<a rel="nofollow" id="cancel-comment-reply-link" href="#respond" style="display:none;">Annuler la réponse.</a>
<form action="#" method="post" id="commentform" class="comment-form" novalidate>
<p class="comment-notes">
Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec <span class="required">*</span>
<p class="comment-form-author">
<label for="author">Nom <span class="required">*</span></label>
<input id="author" name="author" type="text" value="" size="30" aria-required='true' />
<p class="comment-form-email">
<label for="email">Adresse de contact <span class="required">*</span></label>
<input id="email" name="email" type="email" value="" size="30" aria-required='true' />
<p class="comment-form-url">
<label for="url">Site web</label>
<input id="url" name="url" type="url" value="" size="30" />
<p class="comment-form-comment">
<label for="comment">Commentaire</label>
<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>
<p class="form-allowed-tags">Vous pouvez utiliser ces balises et attributs <abbr title="HyperText Markup Language">HTML</abbr>&nbsp;: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code>
<p class="form-submit">
<input name="submit" type="submit" id="submit" value="Laisser un commentaire" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.