问题描述
<s>和<del>有什么区别?我已阅读 here,<b> 和 <strong>,这是否适用于 <s> 和 <del>?此外,搜索引擎如何解释这种语义差异(如果有的话)以及它们对排名有何影响?还有其他影响搜索排名的标签吗?
What is the difference between <s> and <del>? I have read here that there are semantic differences between <b> and <strong>, does this apply to <s> and <del>? Additionally, how are such semantic differences, if any, interpreted by search engines and what affect would they have on rankings? Are there any other tags that affect search rankings?
推荐答案
<s> 和 <del> 都仍然存在于 HTML 规范中.
<s> and <del> both still exist in the HTML specification.
p>
<del>元素表示从文档中删除.<s>表示不再准确或不再相关的内容.
也就是说,它们实际上在语义上代表了不同的事物.如果您有一个现有文档并且想要指示文档中的文本,但已被删除,则将使用 <del>.这与文档中不再准确但尚未删除的文本不同(您可以为此使用 <s>).
That is to say that they actually represent different things semantically. Specifically <del> would be used if you had an existing document and wanted to indicate text that was in the document, but has been removed. This would be different than text in a document that is no longer accurate, but that has not been removed (you could use <s> for that).
您不应该使用或依赖其中任何一个来进行样式设置,即使大多数浏览器默认设置了删除线.你应该只依赖 CSS 来展示.
You should not use or depend on either for styling even though most browsers do have them strike-through by default. You should only rely on CSS for presentation.
由于搜索引擎工作方式的反复无常,很难说一个标签或另一个标签是否会对关键字的创建方式和您的内容的索引方式产生影响.您应该专注于创建语义正确的优质内容,您的网站排名也会随之而来.
Due to the mercurial nature of how search engines work, it's very difficult to say whether one tag or another will make a difference on how keywords are created and your content is indexed. You should focus on creating good content that is semantically correct, and your website rank will follow.
这篇关于<s> 和有什么区别?和 <del>在 HTML 中,它们会影响网站排名吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!




大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)