Edi wrote: ↑Tue Sep 19, 2017 2:53 pm
It depends what you want to do. Concerning the i element for example there is the following recommendation:
Authors are encouraged to consider whether other elements might be more applicable than the i element, for instance the em element for marking up stress emphasis, or the dfn element to mark up the defining instance of a term.
Exactly. In HTML5, i and b are only text formattings (italic/bold) without any semantic meaning. But em and strong are semantic elements (emphasized/important). Also, div is not semantic, but header, main, nav, aside etc. are. A div element (division) can be used for positioning or something like that (a wrapper for example). But if they have classes or not, should not make a difference for an HTML editor. They can even be empty, and the editor should not scramble the code, nonetheless.