Title: HTML in widget
Last modified: December 1, 2019

---

# HTML in widget

 *  [gillinghamjamie](https://wordpress.org/support/users/gillinghamjamie/)
 * (@gillinghamjamie)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/html-in-widget-2/)
 * Hi Ben,
 * I’m looking to enable widgets to recognize simple HTML so that I can italicize
   portions of a title etc.
 * Thanks,
 * Jamie
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-in-widget-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/html-in-widget-2/#post-12197404)
 * Hey Jamie,
 * This is a bit tricky because WordPress has security filters in place that strip
   out the HTML, and turning those off could be problematic. Would it be okay to
   italicize the entire widget title? That can be done pretty easily with this CSS:
 *     ```
       .widget-title {
         font-style: italic;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘HTML in widget’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/mission-news/1.65/screenshot.png)
 * Mission News
 * [Support Threads](https://wordpress.org/support/theme/mission-news/)
 * [Active Topics](https://wordpress.org/support/theme/mission-news/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/mission-news/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/mission-news/reviews/)

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/html-in-widget-2/#post-12197404)
 * Status: not resolved