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

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:

主站蜘蛛池模板: 泊头市| 化德县| 隆尧县| 贺兰县| 东台市| 遂平县| 湄潭县| 冕宁县| 普格县| 宝兴县| 文登市| 宁海县| 化州市| 京山县| 铁岭市| 区。| 叙永县| 奉贤区| 兴海县| 汝南县| 黎川县| 无极县| 息烽县| 开原市| 渭源县| 阳东县| 涞水县| 清新县| 丰宁| 瑞安市| 三台县| 台南县| 临朐县| 兴仁县| 久治县| 含山县| 西峡县| 德昌县| 延安市| 崇礼县| 铜山县|