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

发布于 2024-10-06 20:53:46 字数 247 浏览 10 评论 0原文

我猜想

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

但是 的含义有点模糊。我对此进行了一些谷歌搜索,发现了一些有趣的选项:“超级被动分析器节点”、“SPAce 节点”、“简单普通访问节点”。

有谁知道的正确缩写?

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?

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".

Does anyone know the right acronym for <span>?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

昵称有卵用 2024-10-13 20:53:46

它不是缩写词,它只是“跨越”标签内的内容。

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

沧桑㈠ 2024-10-13 20:53:46

很难弄清楚 HTML4(SPAN 最初出现的地方)的创建者脑子里在想什么。我找到了标准的原始草案,但没有提到命名,只有一个定义:

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

它可能源自动词“to span”。但我想找到一个参考:)

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

每个版本的 HTML试图体现业界更大的共识,让内容提供商的投入不致浪费,让他们的文档在短时间内变得不可读。

因此,SPAN元素最先支持的可能是某种浏览器,之后它被其他浏览器接管并最终被采用为标准。因此,能够为该浏览器命名并生成该浏览器开发人员的 199x IRC 聊天日志的人将获得 10 分:)

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:

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.

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

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

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.

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:)

浪漫人生路 2024-10-13 20:53:46

跨度意味着“任何”的宽度和范围

Span means width and extent of "whatever"

相权↑美人 2024-10-13 20:53:46

我也遇到了跨度解释的问题,但我尝试将跨度和跨度作为一个词翻译成我所知道的语言,我发现跨度可能具有与拥抱类似的含义,所以我想它可能意味着该 span /span 包含内容,因此它隔离了您可以内联格式化的内容。

I'm also having this problem of the interpretation of span, but I've tried to translate span and spans as a word to languages I know and I found out that spans could have a similar meaning to embrace, so I guess it can mean that span /span embraces a content, therefore it isolates something which you can format inline.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文