官术网_书友最值得收藏!

Primary tags

At a minimum, all your web pages will need to contain the <html>, <head>, and <body> tags. The <html> tag defines the whole HTML document. All other tags must be placed inside this tag. Tags that define how the web page will appear in the browser are placed inside the <body> tag. For instance, your mapping applications will contain a <div> tag inside the <body> tag that is used as a container for displaying the map.

Loading this HTML page in a browser would produce the content you see in the following screenshot. Most of the ArcGIS API for JavaScript code that you write will be placed between the <head></head> tags, either within a <script> tag or inside a separate JavaScript file. As you gain experience you will likely begin placing your JavaScript code inside one or more JavaScript files and then referencing them from the <head> section. We'll explore this topic later. For now just concentrate on placing your code inside <script> tags, within the <head> tags:

主站蜘蛛池模板: 汶川县| 名山县| 晋城| 久治县| 大安市| 五大连池市| 那曲县| 岚皋县| 麦盖提县| 栾城县| 丰城市| 巴东县| 将乐县| 萍乡市| 咸宁市| 军事| 黄梅县| 大丰市| 江口县| 巴彦县| 平乐县| 社旗县| 突泉县| 呼图壁县| 墨江| 土默特左旗| 民勤县| 雷山县| 泾川县| 梨树县| 望谟县| 东光县| 睢宁县| 屏山县| 湟中县| 嵊泗县| 贺州市| 孟村| 孝感市| 乃东县| 天镇县|