|
|
|
|
|
by alextgordon
4086 days ago
|
|
The only person reading that markup is a computer... If it works, use it. If it's visually broken, don't. All else being equal, pick the best user experience (i.e. not the one that breaks when grandma types in an asterisk). |
|
Styles may be wrongly applied, javascript may bind to the wrong dom elements, etc.
Most of the time, everything look really good in the wysiwyg box but breaks in the website. That empty tag might have a padding that adds extra whitespace on the website. Perhaps you added a <h1> or <h2> tag without noticing and this empty tag gets added to your navigation as an empty element.
I worked on a project where the user was using and modifying the same content page for the last 5 years. The page was glitchy as hell. Trust me, it didn't even look like HTML anymore. Hell, at first glance the whole HTML code looked like a big regex.