- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Eric Pimpler Mark Lewin
- 160字
- 2021-07-02 15:48:53
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:

- Spring 5.0 Microservices(Second Edition)
- JavaScript全程指南
- 潮流:UI設(shè)計必修課
- PyTorch自然語言處理入門與實戰(zhàn)
- Access 2010數(shù)據(jù)庫基礎(chǔ)與應(yīng)用項目式教程(第3版)
- 零基礎(chǔ)學(xué)單片機(jī)C語言程序設(shè)計
- 數(shù)據(jù)結(jié)構(gòu)習(xí)題解析與實驗指導(dǎo)
- UVM實戰(zhàn)
- 軟件品質(zhì)之完美管理:實戰(zhàn)經(jīng)典
- Visual Studio Code 權(quán)威指南
- Zabbix Performance Tuning
- Everyday Data Structures
- Struts 2.x權(quán)威指南
- Mastering Android Studio 3
- Access數(shù)據(jù)庫應(yīng)用教程(2010版)