Title: Improve HTML markup
Last modified: December 7, 2022

---

# Improve HTML markup

 *  [bigbanks](https://wordpress.org/support/users/bigbanks/)
 * (@bigbanks)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/improve-html-markup/)
 * Hi,
 * I would like to suggest improvement about HTML mark-up output. The plugin has
   option to choose titles’ tag such as H1, H2, H3, H4, H5 and H6. However the subtitles
   for “Pros” and “Cons” are automatically coming with H4 tag, no matter what tag
   selected for main title.
 * That would be great if the plugin had a logic, which is taking into account the
   main tag, and then automatically determines an appropriate tag for subtitles.
 * Such as:
    Main title – H1 : Subtitles – H2 Main title – H2 : Subtitles – H3 Main
   title – H3 : Subtitles – H4 …
 * This would make a better HTML structuring, which is important for SEO ranging
   factors.
 * Apart from that it would be great to make a manual selection of a tag for subtitles,
   such as wrapping it into a DIV tag. The reason – when writing a well-optimized
   blog, it is highly popular to insert automatically generated Table-Of-Contents,
   which analyzes all Heading-tags structure and creates a post-navigation. In my
   case, the Table-Of-Content plugin, takes subtitle H4 tags, and putting 2 links:“
   Props” [H4], and “Cons” [H4] under “Props and Cons” [H2] title, without having
   an [H3] tag in between, which makes quite a bad visual appearance.
 * Another simple way to solve all issues (without putting much effort in it), would
   be to replace H4 tag of the subtitles with a DIV tag.
 * I hope you will consider these suggestions to implement in a next versions of
   your plugin. Thank you.

The topic ‘Improve HTML markup’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/joomdev-wp-pros-cons_8cb9be.svg)
 * [Mighty Classic Pros And Cons](https://wordpress.org/plugins/joomdev-wp-pros-cons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/joomdev-wp-pros-cons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/joomdev-wp-pros-cons/)
 * [Active Topics](https://wordpress.org/support/plugin/joomdev-wp-pros-cons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/joomdev-wp-pros-cons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/joomdev-wp-pros-cons/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bigbanks](https://wordpress.org/support/users/bigbanks/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/improve-html-markup/)
 * Status: not resolved