HTML首字母缩写词“span”代表什么?

时间:2021-09-12 17:19:38

I guess that <div> might actually stand for: "division" since it creates a division in the document by separating content before and after it. Am I right?

我猜

可能实际上代表:“division”,因为它通过在文档之前和之后分隔内容来在文档中创建一个分区。我对吗?

But <span> is a little bit more obscure on its meaning. I made some googling on this and found some interesting options: "Super Passive Analyzer Node", "SPAce Node", "Simple Plain Access Node".

但是在其意义上有点模糊。我在谷歌上搜索了一些有趣的选项:“超级被动分析器节点”,“SPA节点”,“简单普通访问节点”。

Does anyone know the right acronym for <span>?

有没有人知道的正确首字母缩写?

3 个解决方案

#1


12  

Pretty hard to find out what was going on in the minds of the creators of HTML4, where SPAN first appeared. I tracked down the original draft of the standard, but there is nothing said about the naming, only a definition:

非常难以找到SP4首次出现的HTML4创建者的想法。我追踪了标准的原始草案,但是没有任何关于命名的说法,只有一个定义:

SPAN is an inline element and can be used within paragraphs, list items, etc. when you want assign class or language information to a group of words. SPAN cannot be used to group block-level elements. SPAN has no inherent effect on rendering until you apply a style, e.g., via a style attribute, or a linked style sheet.

SPAN是一个内联元素,当您想要将类或语言信息分配给一组单词时,可以在段落,列表项等中使用。 SPAN不能用于对块级元素进行分组。在应用样式(例如,通过样式属性或链接样式表)之前,SPAN对渲染没有固有影响。

It's probably just derived from the verb 'to span'. But I would like to have found a reference:)

它可能只是源于动词'to span'。但我想找一个参考:)

Update
Also from the HTML4 specification (the newest one this time):

更新同样来自HTML4规范(这次最新的规范):

Each version of HTML has attempted to reflect greater consensus among industry players so that the investment made by content providers will not be wasted and that their documents will not become unreadable in a short period of time.

每个版本的HTML都试图反映行业参与者之间的更大共识,这样内容提供商的投资就不会浪费,并且他们的文档在短时间内不会变得难以理解。

Therefore, the SPAN element was probably first supported by a certain browser, after which it was taken over by other browsers and eventually adopted as a standard. So 10 points to the one who can name that browser and produce 199x IRC chat logs of that browser´s devs:)

因此,SPAN元素可能首先由某个浏览器支持,之后它被其他浏览器接管并最终作为标准采用。所以10点指向那个可以命名该浏览器并生成该浏览器开发者的199x IRC聊天记录的人:)

#2


17  

It's not an acronym, it simply "spans" the content that is within the tag.

它不是首字母缩略词,它只是“跨越”标签内的内容。

#3


0  

Span means width and extent of "whatever"

跨度意味着“无论”的宽度和范围

#1


12  

Pretty hard to find out what was going on in the minds of the creators of HTML4, where SPAN first appeared. I tracked down the original draft of the standard, but there is nothing said about the naming, only a definition:

非常难以找到SP4首次出现的HTML4创建者的想法。我追踪了标准的原始草案,但是没有任何关于命名的说法,只有一个定义:

SPAN is an inline element and can be used within paragraphs, list items, etc. when you want assign class or language information to a group of words. SPAN cannot be used to group block-level elements. SPAN has no inherent effect on rendering until you apply a style, e.g., via a style attribute, or a linked style sheet.

SPAN是一个内联元素,当您想要将类或语言信息分配给一组单词时,可以在段落,列表项等中使用。 SPAN不能用于对块级元素进行分组。在应用样式(例如,通过样式属性或链接样式表)之前,SPAN对渲染没有固有影响。

It's probably just derived from the verb 'to span'. But I would like to have found a reference:)

它可能只是源于动词'to span'。但我想找一个参考:)

Update
Also from the HTML4 specification (the newest one this time):

更新同样来自HTML4规范(这次最新的规范):

Each version of HTML has attempted to reflect greater consensus among industry players so that the investment made by content providers will not be wasted and that their documents will not become unreadable in a short period of time.

每个版本的HTML都试图反映行业参与者之间的更大共识,这样内容提供商的投资就不会浪费,并且他们的文档在短时间内不会变得难以理解。

Therefore, the SPAN element was probably first supported by a certain browser, after which it was taken over by other browsers and eventually adopted as a standard. So 10 points to the one who can name that browser and produce 199x IRC chat logs of that browser´s devs:)

因此,SPAN元素可能首先由某个浏览器支持,之后它被其他浏览器接管并最终作为标准采用。所以10点指向那个可以命名该浏览器并生成该浏览器开发者的199x IRC聊天记录的人:)

#2


17  

It's not an acronym, it simply "spans" the content that is within the tag.

它不是首字母缩略词,它只是“跨越”标签内的内容。

#3


0  

Span means width and extent of "whatever"

跨度意味着“无论”的宽度和范围