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

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:

主站蜘蛛池模板: 康马县| 天柱县| 沈丘县| 大余县| 巨野县| 潜山县| 徐闻县| 南木林县| 藁城市| 株洲县| 仁化县| 三门峡市| 泗阳县| 青冈县| 高邑县| 综艺| 永济市| 东光县| 卓尼县| 江华| 吉隆县| 益阳市| 古交市| 巴楚县| 凤冈县| 原平市| 兴国县| 七台河市| 罗山县| 绥滨县| 泸溪县| 敖汉旗| 霍山县| 安丘市| 汶川县| 白银市| 保康县| 同德县| 华安县| 黄浦区| 樟树市|