I've been running into some (standard) issues with Microsoft Office injecting its nasty markup into some html after forwarding an email via Outlook.
I'm interested to know:
- Is there a resource that explains what
<o:p>
elements actually do - What other MSO elements are commonly injected
Couldn't find any official documentation (no surprise there) but according to this interesting article, those elements are injected in order to enable Word to convert the HTML back to fully compatible Word document, with everything preserved.
The relevant paragraph:
This makes lots of sense.
For your specific question.. the
o
in the<o:p>
means "Office namespace" so anything following theo:
in a tag means "I'm part of Office namespace" - in case of<o:p>
it just means paragraph, the equivalent of the ordinary<p>
tag.I assume that every HTML tag has its Office "equivalent" and they have more.