|
|
| 第1行: |
第1行: |
| {{NoteTA
| | <strong>已安装MediaWiki。</strong> |
| |G1 = IT
| |
| |1=zh-hans:超链接; zh-hant:超連結;
| |
| |2=zh-hans:起到; zh-hant:達到;
| |
| |3=zh-hans:相应; zh-hant:相對;
| |
| |4=zh-hans:通过; zh-hant:透過;
| |
| |5=zh-hans:最高级别; zh-hant:最高等級;
| |
| |6=zh-hans:登陆页; zh-hant:登錄頁;
| |
| |7=zh-hans:主屏幕; zh-hant:主介面;
| |
| }}
| |
| {{selfref|本条目是对“首页”的解释,若想前往[[中文维基百科|維基百科]]首頁,請到'''[[Wikipedia:首页]]'''。}}
| |
| {{distinguish|主界面}}
| |
| [[File:Wikipedia_Chinese_Homepage_Screenshot.png|350px|thumb|right|中文(中国大陆)语言下中文维基百科的首页]]
| |
| '''首页'''或'''-{主}-页'''({{langx|en|home page或homepage}})是[[电子计算机|计算机]][[术语]],各[[网站]]的主要[[网页]]——一般是指访问一个应用程序启动时始终显示在网站或[[网页浏览器]]中的一个或多个初始网页等画面存在的站点,在这种解释-{zh-hans:里; zh-hant:裡;}-亦稱'''起始页'''({{langx|en|start page}})。从更广泛的意义上说,主页被视为[[互联网]]网站的一个名称,专指网站本身。
| |
|
| |
|
| 首页通常提供位于页面层次结构底部的关于网站所有者和内容的信息,可能被分成不同的部分。首页大部分都位于页面层次结构的顶部(第一页),可能按节排列。[[多语制]]网站通常为多种可用语言提供一个主页或是一个网站提供多个可用语言的[[超链接]][[列表]]。
| | 请查阅[https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents 用户指导]以获取使用本wiki软件的信息。 |
|
| |
|
| [[跨国公司]]的主页有时包含到其[[子公司]]简单的地方[[超链接]][[列表]]。还可以在地方超链接找到每个可用语言的超链接列表,并且可以自动检测访问者的[[语言]],而通常在主页本身也中可以找到语言超链接(多语制)。
| | == 入门 == |
| | | * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings MediaWiki配置设置列表] |
| 在内容可能会令人感到不适的网页里,首页通常会出现警告和邀请该访问网站,要么进入,要么离开。在以[[广告]]为导向的首页和一些较小的首页上,有时会有一个分散注意力的介绍[[动画]]。为了节省时间,它通常是可以绕过、跳过的。最后,在所有主要网站上,页面入口也是页面招待处。
| | * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ/zh-hans MediaWiki常见问题] |
| | | * [https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/ MediaWiki发布邮件列表] |
| 通常,网站上的每个页面都有一个到主页的超链接,无论页面在哪里,都可以很容易地返回。根据[[三次连点规则]],访问者必须能够通过主页上最多三个超链接访问网站的任何页面。
| | * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources 本地化MediaWiki到您的语言] |
| | | * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam 了解如何在您的wiki上打击破坏] |
| == 建立目的 == | |
| 首页一般是用户通过网址访问一个网站时所看到的首个页面,用于吸引访问者的注意,該網站的重點訴求呈現,通常也起到{{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 |archive-date=2016-03-22 |archive-url=https://web.archive.org/web/20160322121348/http://www.smartinsights.com/conversion-optimisation/landing-page-optimisation/home-page-as-landing-page/ |dead-url=no }} {{Wayback|url=http://www.smartinsights.com/conversion-optimisation/landing-page-optimisation/home-page-as-landing-page/ |date=20160322121348 }}</ref><ref name=wdi76>{{cite book |last=Campbell |first=Jennifer |title=Web Design: Introductory |url=http://books.google.com/books?id=5IDAAgAAQBAJ&pg=PA76 |year=2014 |publisher=Cengage Learning |isbn=978-1-305-17627-0 |page=76 |access-date=2016-03-26 |archive-date=2017-03-05 |archive-url=https://web.archive.org/web/20170305120654/https://books.google.com/books?id=5IDAAgAAQBAJ&pg=PA76 |dead-url=no }}</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 |archive-date=2016-04-03 |archive-url=https://web.archive.org/web/20160403052904/https://www.nngroup.com/articles/top-ten-guidelines-for-homepage-usability/ |dead-url=no }} {{Wayback|url=http://www.nngroup.com/articles/top-ten-guidelines-for-homepage-usability/ |date=20160403052904 }}</ref>例如,新闻网站可能会有一个用于反映最新最热的新闻的[[動態網頁|动态首页]],它呈现热门新闻的提要和第一段,并提供通往全文的链接。<ref>{{cite book |last=Kalbach |first=James |title=Designing Web Navigation |url=http://books.google.com/books?id=LC0cG-vFJbcC&pg=PA106 |year=2007 |publisher=O'Reilly Media |isbn=978-0-596-55378-4 |page=106 |access-date=2016-03-26 |archive-date=2012-06-26 |archive-url=https://web.archive.org/web/20120626222957/http://books.google.com/books?id=LC0cG-vFJbcC |dead-url=no }}</ref>
| |
| | |
| 尽管大多数网站只有唯一的首页,但其实一个网站可以有多个首页。<ref>
| |
| {{cite book |last=Schwerdtfeger |first=Patrick |title=Webify Your Business, Internet Marketing Secrets for the Self-Employed |url=http://books.google.com/books?id=KHNNAgAAQBAJ&pg=PA151 |year=2009 |publisher=Lulu |isbn=978-0-557-04901-1 |page=151}}
| |
| </ref>例如,[[维基百科]]的首页除<code>wikipedia.org</code>、<code>www.wikipedia.org</code>之外,还有<code>en.wikipedia.org</code>和<code>zh.wikipedia.org</code>等。
| |
| | |
| === 网站结构 ===
| |
| 虽然有的网站只有单独的一个页面,但绝大多数网页包含首页与内容页。<ref name=wdi94>{{cite book |last=Campbell |first=Jennifer |title=Web Design: Introductory |url=http://books.google.com/books?id=5IDAAgAAQBAJ&pg=PA76 |year=2014 |publisher=Cengage Learning |isbn=978-1-305-17627-0 |page=94 |access-date=2016-03-26 |archive-date=2017-03-05 |archive-url=https://web.archive.org/web/20170305120654/https://books.google.com/books?id=5IDAAgAAQBAJ&pg=PA76 |dead-url=no }}</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 |url=http://books.google.com/books?id=waCQXe7tuAoC&pg=PA318 |year=2011 |publisher=John Wiley & Sons |isbn=978-1-118-08127-3 |page=318 |access-date=2016-03-26 |archive-date=2017-03-05 |archive-url=https://web.archive.org/web/20170305134854/https://books.google.com/books?id=waCQXe7tuAoC&pg=PA318 |dead-url=no }}</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 |archive-date=2016-03-27 |archive-url=https://web.archive.org/web/20160327085325/https://support.tigertech.net/directory-index |dead-url=no }} {{Wayback|url=https://support.tigertech.net/directory-index |date=20160327085325 }}</ref>通常包含着到各个文件的[[超連結|超链接]]和简单的[[檔案分享|文件共享]]功能,但不会有单独的索引文件。也就不会产生更好的网页效果。
| |
| | |
| === 瀏覽器主頁 ===
| |
| 首页有时也指用户打开[[网页浏览器]]后所进入的第一个网页,即'''起始页'''。起始页既可以是网站,也可以是各种功能页面——例如,它可以展示用户经常去的网站的缩略图。多数网页可被设为起始页,某些网站,例如 [[Msn#Msn.com|Msn.com]]、{{link-en|My Yahoo!}}、[[hao123]]和[[iGoogle]](现已终止服务)等的设计就是为了被设置为初始页,<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 |archive-date=2016-03-15 |archive-url=https://web.archive.org/web/20160315001419/http://www.theguardian.com/technology/askjack/2013/nov/07/igoogle-alternatives |dead-url=no }} {{Wayback|url=http://www.theguardian.com/technology/askjack/2013/nov/07/igoogle-alternatives |date=20160315001419 }}</ref>通过它们,可以发[[Webmail]]、看天气预报等。
| |
| | |
| == 其它 ==
| |
| [[个人网站|个人主页]]也常被称作首页,尽管它们可能包含很多页面。<ref>{{cite book |last1=Crowder |first1=Phillip |last2=Crowder |first2=David A. |title=Creating Web Sites Bible |url=http://books.google.com/books?id=6jR9D2mOimQC&pg=PA16 |year=2008 |publisher=John Wiley & Sons |isbn=978-0-470-37259-3 |page=16 |access-date=2016-03-26 |archive-date=2017-03-04 |archive-url=https://web.archive.org/web/20170304173652/https://books.google.com/books?id=6jR9D2mOimQC&pg=PA16 |dead-url=no }}</ref>
| |
| | |
| 在德语中,“首页”常作为“网站”的同义词。<ref>{{cite web |url=http://www.duden.de/node/733426/revisions/1647189/view |title=„Homepage“ auf Duden online |author=Dudenredaktion (o. J.) |publisher=Dudenverlag |language=de |accessdate=2017-06-13 |archive-date=2018-05-24 |archive-url=https://web.archive.org/web/20180524083217/https://www.duden.de/node/733426/revisions/1647189/view |dead-url=no }} {{Wayback|url=http://www.duden.de/node/733426/revisions/1647189/view |date=20180524083217 }}</ref>
| |
| | |
| 在浏览器环境外,首页一词也常被使用,比如,它常指移动设备如[[移动电话|手机]]的[[主界面]]。
| |
| | |
| == 参见 ==
| |
| {{Portal|互联网}}
| |
| * {{link-en|联系方式页面|Contact page}}
| |
| * [[链接页]] | |
| * [[網站地圖|网站地图]]
| |
| | |
| == 参考资料 ==
| |
| {{reflist}}
| |
| | |
| == 外部链接 ==
| |
| {{Commons category}}
| |
| * [http://www.icann.org/ 互联网名称与数字地址分配机构] {{Wayback|url=http://www.icann.org/ |date=20110928011759 }}
| |
| * [http://www.w3.org/ 万维网联盟] {{Wayback|url=http://www.w3.org/ |date=20021202091355 }}
| |
| * [http://www.isoc.org/ 国际互联网协会] {{Wayback|url=http://www.isoc.org/ |date=20111213094924 }}
| |
| | |
| {{Authority control}}
| |
| | |
| [[Category:信息技术]]
| |
| [[Category:网页设计]]
| |
| [[Category:全球資訊網]]
| |