I'm working on the implementation of a HTML5 code style for \listings.
Currently I have the problem that there are different ways to define HTML tags. In my example, I don't get /p in <p></p> marked.
Screenshot:

My keyword definition looks like this:
otherkeywords={>,><,</p,<p,</p>}
If I add /p to the list, then </p> is not marked anymore.
Here is my language definition:
\lstdefinelanguage{HTML5}{
language=html,
sensitive=true,
alsoletter={<>=-},
morecomment=[s]{<!-}{-->},
tag=[s],
otherkeywords={>,><,</p,<p,</p>}
}
For a complete example I've created this document: https://www.writelatex.com/74567mmxwkw
><from the keyword list? – cgnieder Feb 24 '13 at 12:40