How can we delete the old unwanted section ID’S. We can change the ID’s. But the old ones remain in the list.
The list should only show items with ID’s, which are at the top level of your hierarchy ( immediate children of the body element ).
If you’re renaming one and still seeing that ID in the link list, then it’s most likely because you copy-pasted that section and now have another section with that same ID.
Maybe it is better to name each section with a unique name, even if they are the same in style. Then we will probably see that by changing the ID’s, the old ID disappears. Because each section has a different class.
A tip: This is not useful for ID’s, but also by naming each section separately, even if they are the same in style, we can have a clear visual navigator panel on the left site, navigating quickly from one section to another, especially when the sections are closed and we can’t see the sub-Div Blocks under the sections. Am I right?
You can if you want to but it does not add value to your page.
You don’t need ID’s on any section, unless you want to use it for section navigation for perhaps custom coding work.
I generally keep all elements ID-free except when I specifically need them to have an ID.