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

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:

主站蜘蛛池模板: 庆云县| 顺义区| 朝阳市| 上思县| 青田县| 抚顺县| 定安县| 阳西县| 灵寿县| 遂溪县| 磴口县| 哈巴河县| 珠海市| 喀喇沁旗| 鱼台县| 东乌珠穆沁旗| 江油市| 安达市| 郯城县| 贺州市| 高台县| 神木县| 深水埗区| 三河市| 山西省| 石嘴山市| 和顺县| 鄂托克旗| 裕民县| 榆中县| 云浮市| 元氏县| 广东省| 高碑店市| 天峻县| 墨脱县| 沁阳市| 盱眙县| 安塞县| 敖汉旗| 山西省|