这个标签的含义是什么:<t> lorem ipsum </ t>

Ste*_*ead 6 html css semantic-markup

模板页面http://www.blacktie.co/demo/kelvin包含我以前从未见过的标签:<t>Email</t>

相应的CSS样式: #footwrap t {font-weight: 700;}

我很好奇这个的重要性<t>.它没有列在http://htmldog.com/reference/htmltags或我能找到的其他列表中.

这是自定义HTML标记吗?从我读到的有关自定义元素(例如http://www.html5rocks.com/en/tutorials/webcomponents/customelements)的内容中,您需要调用document.registerElement(),document.createElement()但这似乎并非如此.

此代码在语义上是否正确,还是应该写为:

<span class="t">Email</span>

#footwrap .t {font-weight: 700;}
Run Code Online (Sandbox Code Playgroud)

Jac*_*ray 8

是的,<t>标签是自定义元素.虽然自定义标签很有用,但如果您希望所有浏览器都支持它们,则必须使用JS注册该元素:

var tTag = document.registerElement('t');
Run Code Online (Sandbox Code Playgroud)

有关自定义标记的更多信息
,请回答您的问题,编码无效,除非他们已使用JavaScript在浏览器中注册了该元素.
有时候,它更容易使用class:D