# Increasing font in a message box with HTML

**URL:** <https://forum.inductiveautomation.com/t/increasing-font-in-a-message-box-with-html/57827>\
**Category:** Ignition\
**Created:** [March 30, 2022, 6:03pm UTC](https://forum.inductiveautomation.com/t/increasing-font-in-a-message-box-with-html/57827 "2022-03-30T18:03:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopher.raphael](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@christopher.raphael](https://forum.inductiveautomation.com/u/christopher.raphael)\
**Post date:** [March 30, 2022, 6:03pm UTC](https://forum.inductiveautomation.com/t/increasing-font-in-a-message-box-with-html/57827/1 "2022-03-30T18:03:05Z")

</div>

I want to increase the font size in a message box. I am using this which works with the HTML coding but not sure what to add to select the font I want to use.  
system.gui.messageBox(‘CRITERIA TEXT CHARACTERS \> 400,   
REDUCE SIZE TO SAVE’)

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 30, 2022, 6:30pm UTC](https://forum.inductiveautomation.com/t/increasing-font-in-a-message-box-with-html/57827/2 "2022-03-30T18:30:25Z")

</div>

The [font html tag](https://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_font) can help here:

```python
system.gui.messageBox('<html><font size="4"> CRITERIA TEXT CHARACTERS > 400,<br><font size="5">REDUCE SIZE TO SAVE')TO SAVE')

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8bcbf02227658a83c296694a6dbb0ed7539eb36d.png)

---

<div class="post-metadata">

**Author:** ![christopher.raphael](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@christopher.raphael](https://forum.inductiveautomation.com/u/christopher.raphael)\
**Post date:** [March 30, 2022, 7:10pm UTC](https://forum.inductiveautomation.com/t/increasing-font-in-a-message-box-with-html/57827/3 "2022-03-30T19:10:20Z")

</div>

Thanks, I was also able to find this in Ignition. Great for bolding and size (h) height I suppose.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/9/89b8cb348ebf7d07fb172ac2696488cf5e86e55c.jpeg)

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 30, 2022, 7:17pm UTC](https://forum.inductiveautomation.com/t/increasing-font-in-a-message-box-with-html/57827/4 "2022-03-30T19:17:01Z")

</div>

> [@christopher.raphael](#):
>
> Great for bolding and size (h) height I suppose

The `<h*>` tags are known as heading tags. There are 6 different sizes where `<h1>` would be the heading with most significance and `<h6>` would be the heading with least significance.

You can also use `<b>` tags for bolding text.

---

<div class="post-metadata">

**Author:** ![christopher.raphael](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@christopher.raphael](https://forum.inductiveautomation.com/u/christopher.raphael)\
**Post date:** [March 30, 2022, 7:28pm UTC](https://forum.inductiveautomation.com/t/increasing-font-in-a-message-box-with-html/57827/5 "2022-03-30T19:28:09Z")

</div>

Thanks for the info.
