Skip to content

Instantly share code, notes, and snippets.

@benjaminniess
Created December 2, 2013 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjaminniess/7758951 to your computer and use it in GitHub Desktop.
Save benjaminniess/7758951 to your computer and use it in GitHub Desktop.
An example of WordPress comments form
<div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title">Laisser un commentaire
<small>
<a rel="nofollow" id="cancel-comment-reply-link" href="#respond" style="display:none;">Annuler la réponse.</a>
</small>
</h3>
<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>
<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>
<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>
<p class="comment-form-url">
<label for="url">Site web</label>
<input id="url" name="url" type="url" value="" size="30" />
</p>
<p class="comment-form-comment">
<label for="comment">Commentaire</label>
<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>
</p>
<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>
<p class="form-submit">
<input name="submit" type="submit" id="submit" value="Laisser un commentaire" />
</p>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment