2023年8月1日发(作者:)

什么是?如何创建和使⽤?Websites provide a lot of web pages with different URLs but there are some defacto pages that exist most of the web is one of them. is used as the main or entrance page for the whole web site or web application.⽹站提供了许多具有不同URL的⽹页,但是⼤多数⽹站上都存在⼀些事实上的页⾯。 是其中之⼀。 ⽤作整个⽹站或Web应⽤程序的主页或⼊⼝。什么是? (What Is ?)什么包含? (What Contains ?)What Contains ?什么包含?代码 ( Code)There is no standard about the code but there are some regular code parts generally used in . Belowwe can see that the JavaScript code is defined inside the head part of the web page. Also, the links and menu are defined asthe first element of the .关于代码没有标准,但是中通常使⽤⼀些常规代码部分。 在下⾯,我们可以看到JavaScript代码是在⽹页顶部定义的。 同样,链接和菜单被定义为的第⼀个元素。了解更多HTML元素CSS圆⾓ 代码基本结构( Basic Structure)When we look at an file we can see that there is some basic structure that is mostly used in most of the website’s other pages.当我们查看⽂件时,我们可以看到存在⼀些基本结构,该结构主要在⼤多数⽹站的其他页⾯中使⽤。`Menu` will contain shortcuts to other pages of the sites.“菜单”将包含指向⽹站其他页⾯的快捷⽅式。`Main Content` generally contains information about the web site and some latest or generic or definitive informationabout the web site.“主要内容”通常包含有关⽹站的信息以及有关该⽹站的⼀些最新或通⽤或权威性信息。`Footer` may contain some social media link, contact information, copyright information, etc.“页脚”可能包含⼀些社交媒体链接,联系信息,版权信息等。的位置 (Location Of The )The file is stored inside the web site root directory of the webserver. If the webserver is Apache2 the default pathis /var/www and the web site folder name. If the webserver is IIS the path will be C:inetpubsites by default but changeaccording to specific web site ⽂件存储在Web服务器的⽹站根⽬录中。 如果Web服务器是Apache2,则默认路径是/var/www并且⽹站⽂件夹名称。 如果Web服务器是IIS,则默认情况下路径为C:inetpubsites ,但根据特定的⽹站配置进⾏更改。与 ( vs )Well, we can see some minor changes in the usage of the web page. is an alternative to the le. is generally used in Windows servers but almost the same HTML, CSS and JavaScript code is used.好吧,我们可以看到⽹页的⽤法有⼀些⼩的变化。 是⽂件的替代⽅法。 通常在Windows服务器中使⽤,但是使⽤⼏乎相同HTML,CSS和JavaScript代码。替代⽅法 ( Alternatives) was popular a long time ago. Currently, most of the web sites prefer or nothing where is notused. But there are some alternatives that are mostly used with dynamic server-side applications or sites like PHP , Python,, 很久以前就很流⾏。 当前,⼤多数⽹站更喜欢或不使⽤的⽹站。 但是,有些替代⽅案通常⽤于动态服务器端应⽤程序或站点,例如PHP,Python,等。`` is used by web sites or web ⽹站或Web应⽤程序使⽤“ ”。`` is used by PHP web Web应⽤程序使⽤``。`` or `` are also alternatives to the 或也是的替代⽅案。

2023年8月1日发(作者:)

什么是?如何创建和使⽤?Websites provide a lot of web pages with different URLs but there are some defacto pages that exist most of the web is one of them. is used as the main or entrance page for the whole web site or web application.⽹站提供了许多具有不同URL的⽹页,但是⼤多数⽹站上都存在⼀些事实上的页⾯。 是其中之⼀。 ⽤作整个⽹站或Web应⽤程序的主页或⼊⼝。什么是? (What Is ?)什么包含? (What Contains ?)What Contains ?什么包含?代码 ( Code)There is no standard about the code but there are some regular code parts generally used in . Belowwe can see that the JavaScript code is defined inside the head part of the web page. Also, the links and menu are defined asthe first element of the .关于代码没有标准,但是中通常使⽤⼀些常规代码部分。 在下⾯,我们可以看到JavaScript代码是在⽹页顶部定义的。 同样,链接和菜单被定义为的第⼀个元素。了解更多HTML元素CSS圆⾓ 代码基本结构( Basic Structure)When we look at an file we can see that there is some basic structure that is mostly used in most of the website’s other pages.当我们查看⽂件时,我们可以看到存在⼀些基本结构,该结构主要在⼤多数⽹站的其他页⾯中使⽤。`Menu` will contain shortcuts to other pages of the sites.“菜单”将包含指向⽹站其他页⾯的快捷⽅式。`Main Content` generally contains information about the web site and some latest or generic or definitive informationabout the web site.“主要内容”通常包含有关⽹站的信息以及有关该⽹站的⼀些最新或通⽤或权威性信息。`Footer` may contain some social media link, contact information, copyright information, etc.“页脚”可能包含⼀些社交媒体链接,联系信息,版权信息等。的位置 (Location Of The )The file is stored inside the web site root directory of the webserver. If the webserver is Apache2 the default pathis /var/www and the web site folder name. If the webserver is IIS the path will be C:inetpubsites by default but changeaccording to specific web site ⽂件存储在Web服务器的⽹站根⽬录中。 如果Web服务器是Apache2,则默认路径是/var/www并且⽹站⽂件夹名称。 如果Web服务器是IIS,则默认情况下路径为C:inetpubsites ,但根据特定的⽹站配置进⾏更改。与 ( vs )Well, we can see some minor changes in the usage of the web page. is an alternative to the le. is generally used in Windows servers but almost the same HTML, CSS and JavaScript code is used.好吧,我们可以看到⽹页的⽤法有⼀些⼩的变化。 是⽂件的替代⽅法。 通常在Windows服务器中使⽤,但是使⽤⼏乎相同HTML,CSS和JavaScript代码。替代⽅法 ( Alternatives) was popular a long time ago. Currently, most of the web sites prefer or nothing where is notused. But there are some alternatives that are mostly used with dynamic server-side applications or sites like PHP , Python,, 很久以前就很流⾏。 当前,⼤多数⽹站更喜欢或不使⽤的⽹站。 但是,有些替代⽅案通常⽤于动态服务器端应⽤程序或站点,例如PHP,Python,等。`` is used by web sites or web ⽹站或Web应⽤程序使⽤“ ”。`` is used by PHP web Web应⽤程序使⽤``。`` or `` are also alternatives to the 或也是的替代⽅案。