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

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:

主站蜘蛛池模板: 松滋市| 清水县| 徐汇区| 莲花县| 南宫市| 原平市| 论坛| 营口市| 当雄县| 曲阜市| 西盟| 武平县| 河北省| 含山县| 华池县| 庆安县| 杂多县| 遂昌县| 贵阳市| 尚义县| 乐陵市| 那坡县| 平乡县| 鹤岗市| 莱西市| 南丹县| 玉林市| 新野县| 宜宾县| 高要市| 蕲春县| 兰溪市| 乌兰察布市| 湖州市| 辽宁省| 连山| 岑巩县| 湟中县| 内乡县| 北票市| 九龙城区|