我正在尝试在 Eliom 框架中使用 Bootstrap,但我无法弄清楚如何正确使用某些 html 属性。以引导网站 ( http://getbootstrap.com/components/#btn-groups ) 中的以下代码为例:
<div class="btn-group" role="group" aria-label="...">
<button type="button" class="btn btn-default">Left</button>
<button type="button" class="btn btn-default">Middle</button>
<button type="button" class="btn btn-default">Right</button>
</div>
我无法弄清楚如何在 Eliomrole
中复制属性。aria-label
它们未在type base_attributes
或type button_attrib
( type common
http://ocsigen.org/tyxml/3.4/api/Html5_types#TYPEcommon )下列出。上面的代码可以在 Eliom 中复制吗?