# Formatting text rendered as HTML

**URL:** <https://forum.kirupa.com/t/formatting-text-rendered-as-html/34231>\
**Category:** flash\
**Created:** [October 30, 2003, 2:53am UTC](https://forum.kirupa.com/t/formatting-text-rendered-as-html/34231 "2003-10-30T02:53:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [October 30, 2003, 2:53am UTC](https://forum.kirupa.com/t/formatting-text-rendered-as-html/34231/1 "2003-10-30T02:53:57Z")

</div>

I have a dynamic text box, which is fed text from an external text file. The “render as HTML” button is turned on. On the external text file, **what is the HTML tag for centering text?** I tried CENTER, but it failed.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 30, 2003, 2:57am UTC](https://forum.kirupa.com/t/formatting-text-rendered-as-html/34231/2 "2003-10-30T02:57:01Z")

</div>

try using \<div align=“center”\>\</div\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 30, 2003, 4:18am UTC](https://forum.kirupa.com/t/formatting-text-rendered-as-html/34231/3 "2003-10-30T04:18:06Z")

</div>

The following HTML tags are supported in text fields: \<A\>, \<B\>, \<FONT COLOR\>, \<FONT FACE\>, \<FONT SIZE\>, \<I\>, \<P\>, and \<U\>.

The following HTML attributes are supported in text fields: LEFTMARGIN, RIGHTMARGIN, ALIGN, INDENT, and LEADING.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 30, 2003, 4:18am UTC](https://forum.kirupa.com/t/formatting-text-rendered-as-html/34231/4 "2003-10-30T04:18:38Z")

</div>

ah, i thought \<div\> was supported too, my bad 🙂
