[pmwiki-users] Markup for button ?

Petko Yotov 5ko at 5ko.fr
Thu Sep 2 06:56:07 PDT 2021


Recent PmWiki versions have "input button" similar to "input submit":

   (:input button value="Red button" id=button_id class="btn btn-red":)

This is translated to <input type="button" ... /> however, not to 
<button...> and unlike it the label or value can only be plain text.

If you must have a <button> element instead, you should make a custom 
markup.

Petko

-- 
If you upgrade :  http://www.pmwiki.org/Upgrades


On 01/09/2021 18:35, ABClf wrote:
> I'm playing with css now and I'm just discover I don't know how to
> create a button in pmwiki markup ;
> my purpose is to be able to create something rendering in html as :
> <button type="button" class="btn btn-red">Red button</button>



More information about the pmwiki-users mailing list