为什么在 url 中使用 - 而不是 off _ [英] why use - instead off _ in url

查看:41
本文介绍了为什么在 url 中使用 - 而不是 off _的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么在 url 中使用 - 而不是 off _?Url 包含 '_' 似乎没有坏影响.

why use - instead off _ in url? Url contain '_' seems like no bad effects.

推荐答案

当你阅读 a_long_sentence_with_many_underscores 时,因为你是通过字母或单词识别来阅读它的,你的视线会沿着线的中间移动,但是当你到达下划线时,你的眼睛更有可能追踪下一个单词.

When you read a_long_sentence_with_many_underscores, because you are reading it by letter or word recognition, your eye tracks along the middle of the line, but when you reach an underscore, your eye is more likely to track down a bit and back up for the next word.

当您阅读带有许多破折号的长句时,您的眼睛会一直沿着同一地平线追踪,而通过视觉,您的大脑更容易尝试忽略它们.

When you read a-long-sentence-with-many-dashes, your eye keeps tracking along the same horizon, and by sight, it is easier for your brain to try and ignore them.

另一个很好的理由是,当单词分隔符为破折号时,Google 和其他搜索引擎会将与搜索词匹配的网址排名更高.

Another good reason is that Google and other search engines rank urls that match to search terms higher when the word separator is a dash.

这篇关于为什么在 url 中使用 - 而不是 off _的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆