Semantic HTML tag for displaying a path/directory?
问题 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? 回答1: 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. 回答2: The code element represents a fragment of computer code. This could be an