# HTML buttons as answer choices

**URL:** <https://forum.getodk.org/t/html-buttons-as-answer-choices/42774>\
**Category:** Support\
**Tags:** form-design\
**Created:** [August 23, 2023, 6:07am UTC](https://forum.getodk.org/t/html-buttons-as-answer-choices/42774 "2023-08-23T06:07:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saad](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/saad/32/4537_2.png) [@Saad](https://forum.getodk.org/u/Saad)\
**Post date:** [August 23, 2023, 6:07am UTC](https://forum.getodk.org/t/html-buttons-as-answer-choices/42774/1 "2023-08-23T06:07:26Z")

</div>

Hi,

A client needs to have HTML buttons type layout as answer choice for a select-one question. I guess it can be handled via images. However, is there any other way of using HTML/CSS in the code?

Thanks,  
Saad

---

<div class="post-metadata">

**Author:** ![danbjoseph](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/danbjoseph/32/21901_2.png) [@danbjoseph](https://forum.getodk.org/u/danbjoseph)\
**Post date:** [August 24, 2023, 12:41pm UTC](https://forum.getodk.org/t/html-buttons-as-answer-choices/42774/2 "2023-08-24T12:41:14Z")

</div>

Unfortunately, it is not recommended to use HTML in forms, see [https://docs.getodk.org/form-styling/#inline-html](https://docs.getodk.org/form-styling/#inline-html) for more details.
