Is there any tag that's suited to markup a path or directory?
For example: <path>user/project/</path>
I've checked all new HTML5 tags but there doesn't seem to be one that fits this purpose. So which one would come close?
Unfortunately there isn't anything in HTML for that. You could try to wrap it in a <pre>
tag or <code>
in HTML5. Otherwise you can use a <span>
tag and style it how you want it to look like.