Title: how to add attribute on table
Last modified: February 16, 2025

---

# how to add attribute on table

 *  [kamaldev](https://wordpress.org/support/users/kamaldev/)
 * (@kamaldev)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-add-attribute-on-table/)
 * Hi , i want to add attributes on table thead tbody and tr and td how can i do
   this. If you can add this feature it will be better for me.

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

 *  [websevendev](https://wordpress.org/support/users/websevendev/)
 * (@websevendev)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-add-attribute-on-table/#post-18308583)
 * Can’t do it with this plugin, it can only add attributes to the block’s root 
   element.
 *  Thread Starter [kamaldev](https://wordpress.org/support/users/kamaldev/)
 * (@kamaldev)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-add-attribute-on-table/#post-18309609)
 * But if there is Possible Please Brother add this feature to add attributes on
   the table all elements Like TD and TR elements . Or You Can Suggest me some code
   changes how i can modify the plugin code so it can able to add attributes on 
   the table child elements.
 *  Thread Starter [kamaldev](https://wordpress.org/support/users/kamaldev/)
 * (@kamaldev)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-add-attribute-on-table/#post-18313013)
 * Hello Please Help [websevendev](https://wordpress.org/support/users/websevendev/)!
 *  [websevendev](https://wordpress.org/support/users/websevendev/)
 * (@websevendev)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-add-attribute-on-table/#post-18313052)
 * Just not possible with this plugin.
 * You can try [Flexible Table Block](https://wordpress.org/plugins/flexible-table-block/)
   which seems to support adding ID and class attributes to individual cells, but
   that’s about it. Otherwise just put your table into Custom HTML block as HTML
   and you can control everything.

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

The topic ‘how to add attribute on table’ is closed to new replies.

 * ![](https://ps.w.org/attributes-for-blocks/assets/icon-256x256.png?rev=2588242)
 * [Attributes for Blocks](https://wordpress.org/plugins/attributes-for-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/attributes-for-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/attributes-for-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/attributes-for-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/attributes-for-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/attributes-for-blocks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [websevendev](https://wordpress.org/support/users/websevendev/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-add-attribute-on-table/#post-18313052)
 * Status: not resolved