I recently tried to post a note on facebook where I wrote P(Tn<M). It got terribly deformed. I eventually figured out <m> had to be some HTML command, so I fixed the issue by P(Tn < M). I googled for HTML <m> and HTML <m> command but didn't seem to find anything useful. So I come here and ask: what does <m> do in HTML? Is it an HTML command in the first place? Note: I know mostly nothing about HTML, but I do know that if I type <m> in here without the code markup it simply vanishes, and if I type it in a facebook note everything after it is lowercased and every word is made to be followed by ""= or something like that, and at the end of the note an </m> appears. I do know that HTML often uses <foo> </foo> for things, so I think this is in fact HTML. Of course I don't know if facebook or SX use HTML, so that is a guess. Could you enlighten me?
4 Answers
The m element doesn't seem to exits in the HTML4 specifications, nor can I find it in the HTML5 specifications.
Despite that, I could find it on some IBM site:
mark
The m element indicates text that is "marked" somehow but not necessarily emphasized.
On the mark element can indeed be found something in the specs:
The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context.
Not sure if the m short widely supported, or even withdrawn from the standard. The fact there is not much to find about it isn't really comforting.
this command doesnt seem to exist in html. facebook may used this as an angular JS command for more infos angularjs.org or
Updated
Please see Patrick Hofman's answer as the link I have provided is no longer working. As others have suggested this is not a part of standard HTML 5 but may belong to some framework from ASP.NET or javascript.
Old
"The tag defines marked text. Use the tag if you want to highlight parts of your text
It's an HTML 5 element.
(I typed html m tag in Google)
There is a <em>Foobar</em> tag to emphasize text, but no <m> tag. Maybe Facebook just strips any character that has a less-than sign directly preceeding? Did you try any other combination like <x or <q?