Title: widget html
Last modified: January 26, 2021

---

# widget html

 *  Resolved [bracha1](https://wordpress.org/support/users/bracha1/)
 * (@bracha1)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/widget-html-3/)
 * I have html code to create a widget and I’m getting an alert that there are 3
   mistakes and it can’t be posted. Can you please help?
 * `<a><img src="https://www.dietitians.ca/getattachment/News/Member-Blogs/20-12-
   17-DC-Member-Blog-Badge-2021-22_2021-ENG.png.aspx?width=150&height=150" /></a
   >`
    -  This topic was modified 5 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 3 months ago](https://wordpress.org/support/topic/widget-html-3/#post-13959817)
 * I pasted that into a custom HTML block and it worked.
 * If you hover over the error marker(s) it should give you more info.
 *  Thread Starter [bracha1](https://wordpress.org/support/users/bracha1/)
 * (@bracha1)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/widget-html-3/#post-13959863)
 * yes, it says “an alt attribute must be present on  elements”
    Can you please 
   explain what that means or how to fix that?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 3 months ago](https://wordpress.org/support/topic/widget-html-3/#post-13959876)
 * That’s just a notice, not a hard error. You should be able to save.
 * In any case, `<img src="https://www.dietitians.ca/getattachment/News/Member-Blogs/
   20-12-17-DC-Member-Blog-Badge-2021-22_2021-ENG.png.aspx?width=150&height=150"
   alt="Member Blog Badge"/>` should make it happy
 *  Thread Starter [bracha1](https://wordpress.org/support/users/bracha1/)
 * (@bracha1)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/widget-html-3/#post-13960030)
 * Perfect! Thanks so much
    -  This reply was modified 5 years, 3 months ago by [bracha1](https://wordpress.org/support/users/bracha1/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘widget html’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 4 replies
 * 2 participants
 * Last reply from: [bracha1](https://wordpress.org/support/users/bracha1/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/widget-html-3/#post-13960030)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
