首页:修订间差异

求闻百科,共笔求闻
添加的内容 删除的内容
(机器人:清理不当的来源、移除无用的模板参数)
(机器人:清理不当的来源、移除无用的模板参数)
 
第16行: 第16行:
通常,网站上的每个页面都有一个到主页的超链接,无论页面在哪里,都可以很容易地返回。根据[[三次连点规则]],访问者必须能够通过主页上最多三个超链接访问网站的任何页面。
通常,网站上的每个页面都有一个到主页的超链接,无论页面在哪里,都可以很容易地返回。根据[[三次连点规则]],访问者必须能够通过主页上最多三个超链接访问网站的任何页面。
== 建立目的 ==
== 建立目的 ==
首页一般是用户通过网址访问一个网站时所看到的首个页面,用于吸引访问者的注意,該網站的重點訴求呈現,通常也起到{{link-en|登陆页|landing page}}的作用。<ref>{{cite web |url=http://www.smartinsights.com/conversion-optimisation/landing-page-optimisation/home-page-as-landing-page/ |title=Home Page as Landing Page examples |publisher=smartinsights.com |accessdate=2014-09-04 |author=Dave Chaffey |||}}</ref><ref name="wdi76">{{cite book |last=Campbell |first=Jennifer |title=Web Design: Introductory ||year=2014 |publisher=Cengage Learning |isbn=978-1-305-17627-0 |page=76 |access-date=2016-03-26 |||}}</ref>为使用户能访问网站的其他页面,首页会提供网站的重要页面及新文章的链接,并且常常有一个搜索框。<ref name="wdi76" /><ref name="nn">{{cite web |url=http://www.nngroup.com/articles/top-ten-guidelines-for-homepage-usability/ |title=Top 10 Guidelines for Homepage Usability |author=Jakob Nielsen |publisher=nngroup.com |date=2002-05-12 |accessdate=2014-09-04 |||}}</ref>例如,新闻网站可能会有一个用于反映最新最热的新闻的[[動態網頁|动态首页]],它呈现热门新闻的提要和第一段,并提供通往全文的链接<ref>{{cite book |last=Kalbach |first=James |title=Designing Web Navigation ||year=2007 |publisher=O'Reilly Media |isbn=978-0-596-55378-4 |page=106 |access-date=2016-03-26 |||}}</ref>。尽管大多数网站只有唯一的首页,但其实一个网站可以有多个首页。<ref>{{cite book |last=Schwerdtfeger |first=Patrick |title=Webify Your Business, Internet Marketing Secrets for the Self-Employed ||year=2009 |publisher=Lulu |isbn=978-0-557-04901-1 |page=151}}</ref>
首页一般是用户通过网址访问一个网站时所看到的首个页面,用于吸引访问者的注意,該網站的重點訴求呈現,通常也起到{{link-en|登陆页|landing page}}的作用。<ref>{{cite web |url=http://www.smartinsights.com/conversion-optimisation/landing-page-optimisation/home-page-as-landing-page/ |title=Home Page as Landing Page examples |publisher=smartinsights.com |accessdate=2014-09-04 |author=Dave Chaffey }}</ref><ref name="wdi76">{{cite book |last=Campbell |first=Jennifer |title=Web Design: Introductory ||year=2014 |publisher=Cengage Learning |isbn=978-1-305-17627-0 |page=76 |access-date=2016-03-26 }}</ref>为使用户能访问网站的其他页面,首页会提供网站的重要页面及新文章的链接,并且常常有一个搜索框。<ref name="wdi76" /><ref name="nn">{{cite web |url=http://www.nngroup.com/articles/top-ten-guidelines-for-homepage-usability/ |title=Top 10 Guidelines for Homepage Usability |author=Jakob Nielsen |publisher=nngroup.com |date=2002-05-12 |accessdate=2014-09-04 }}</ref>例如,新闻网站可能会有一个用于反映最新最热的新闻的[[動態網頁|动态首页]],它呈现热门新闻的提要和第一段,并提供通往全文的链接<ref>{{cite book |last=Kalbach |first=James |title=Designing Web Navigation ||year=2007 |publisher=O'Reilly Media |isbn=978-0-596-55378-4 |page=106 |access-date=2016-03-26 }}</ref>。尽管大多数网站只有唯一的首页,但其实一个网站可以有多个首页。<ref>{{cite book |last=Schwerdtfeger |first=Patrick |title=Webify Your Business, Internet Marketing Secrets for the Self-Employed ||year=2009 |publisher=Lulu |isbn=978-0-557-04901-1 |page=151}}</ref>
=== 网站结构 ===
=== 网站结构 ===
虽然有的网站只有单独的一个页面,但绝大多数网页包含首页与内容页<ref name="wdi94">{{cite book |last=Campbell |first=Jennifer |title=Web Design: Introductory ||year=2014 |publisher=Cengage Learning |isbn=978-1-305-17627-0 |page=94 |access-date=2016-03-26 |||}}</ref>。首页的[[统一资源定位符|URL地址]]通常类似于<code><nowiki>http://www.example.com/index.html</nowiki></code>或<code><nowiki>http://www.example.com/default.html</nowiki></code>。其中,<code>www</code> 为网站的[[子域名|三级域名]]、<code>example</code> 为网站的[[二级域|二级域名]]、<code>com</code>为网站的[[頂級域|顶级域名]]。<ref name="url">{{cite book |last=Boyce |first=Jim |title=Windows 7 Bible ||year=2011 |publisher=John Wiley & Sons |isbn=978-1-118-08127-3 |page=318 |access-date=2016-03-26 |||}}</ref>但如果用户省略了其中的 <code>index.html</code> 或<code>default.html</code>,[[服务器]]还是会将他们带入相应网页,<ref name="url" />比如<code><nowiki>http://www.example.com/</nowiki></code>和<code><nowiki>http://example.com/index.html</nowiki></code>就都通往<code>[[example.com]]</code>的首页。这是因为<code>{{link-en|网页服务器目录索引|Webserver directory index|index.html}}</code>被保持在服务器目录的最高级别。
虽然有的网站只有单独的一个页面,但绝大多数网页包含首页与内容页<ref name="wdi94">{{cite book |last=Campbell |first=Jennifer |title=Web Design: Introductory ||year=2014 |publisher=Cengage Learning |isbn=978-1-305-17627-0 |page=94 |access-date=2016-03-26 }}</ref>。首页的[[统一资源定位符|URL地址]]通常类似于<code><nowiki>http://www.example.com/index.html</nowiki></code>或<code><nowiki>http://www.example.com/default.html</nowiki></code>。其中,<code>www</code> 为网站的[[子域名|三级域名]]、<code>example</code> 为网站的[[二级域|二级域名]]、<code>com</code>为网站的[[頂級域|顶级域名]]。<ref name="url">{{cite book |last=Boyce |first=Jim |title=Windows 7 Bible ||year=2011 |publisher=John Wiley & Sons |isbn=978-1-118-08127-3 |page=318 |access-date=2016-03-26 }}</ref>但如果用户省略了其中的 <code>index.html</code> 或<code>default.html</code>,[[服务器]]还是会将他们带入相应网页,<ref name="url" />比如<code><nowiki>http://www.example.com/</nowiki></code>和<code><nowiki>http://example.com/index.html</nowiki></code>就都通往<code>[[example.com]]</code>的首页。这是因为<code>{{link-en|网页服务器目录索引|Webserver directory index|index.html}}</code>被保持在服务器目录的最高级别。


如果一个网站的<code>index.html</code>没有被创建,在其安全设置允许的情况下,许多[[網頁伺服器|网页服务器]]会默认地展示一个由网站目录定位的文件列表,<ref name="dir">{{cite web |url=https://support.tigertech.net/directory-index |title=How do I enable directory listings for a folder on my Web site? |publisher=tigertech.net |accessdate=2014-09-04 |||}}</ref>通常包含着到各个文件的[[超連結|超链接]]和简单的[[檔案分享|文件共享]]功能,但不会有单独的索引文件。也就不会产生更好的网页效果。
如果一个网站的<code>index.html</code>没有被创建,在其安全设置允许的情况下,许多[[網頁伺服器|网页服务器]]会默认地展示一个由网站目录定位的文件列表,<ref name="dir">{{cite web |url=https://support.tigertech.net/directory-index |title=How do I enable directory listings for a folder on my Web site? |publisher=tigertech.net |accessdate=2014-09-04 }}</ref>通常包含着到各个文件的[[超連結|超链接]]和简单的[[檔案分享|文件共享]]功能,但不会有单独的索引文件。也就不会产生更好的网页效果。
=== 瀏覽器主頁 ===
=== 瀏覽器主頁 ===
首页有时也指用户打开[[网页浏览器]]后所进入的第一个网页,即'''起始页'''。起始页既可以是网站,也可以是各种功能页面——例如,它可以展示用户经常去的网站的缩略图。多数网页可被设为起始页,某些网站,例如 [[Msn#Msn.com|Msn.com]]、{{link-en|My Yahoo!}}、[[hao123]]等网站的设计就是为了被设置为初始页<ref>{{cite news |url=http://www.theguardian.com/technology/askjack/2013/nov/07/igoogle-alternatives |title=iGoogle: what are the best alternatives? |author=Jack Schofield |date=2013-11-07 |accessdate=2014-09-04 |work=The Guardian |||}}</ref>。
首页有时也指用户打开[[网页浏览器]]后所进入的第一个网页,即'''起始页'''。起始页既可以是网站,也可以是各种功能页面——例如,它可以展示用户经常去的网站的缩略图。多数网页可被设为起始页,某些网站,例如 [[Msn#Msn.com|Msn.com]]、{{link-en|My Yahoo!}}、[[hao123]]等网站的设计就是为了被设置为初始页<ref>{{cite news |url=http://www.theguardian.com/technology/askjack/2013/nov/07/igoogle-alternatives |title=iGoogle: what are the best alternatives? |author=Jack Schofield |date=2013-11-07 |accessdate=2014-09-04 |work=The Guardian }}</ref>。
== 参见 ==
== 参见 ==
* {{link-en|联系方式页面|Contact page}}
* {{link-en|联系方式页面|Contact page}}