You can add an HTML widget where you can create whatever you'd like. The HTML widget is towards the bottom of the list under the Misc. Widgets section. You cannot write HTML into other widgets, only the HTML widget. You can also add CSS classes to the CSS section when editing styles.
Here's some help articles that may be useful for you.
Let me know if you have any more questions about these!