HTML Markup for notes, results, and files

In ArcGIS Explorer you can add a note anywhere on your map using the Create Notes task. This may be useful if you are collaborating with others and need to record something observed or discovered. Each note has a title, text, and an associated shape that you can sketch on the map. This holds true for all results created by a task; they too can have supplemental information associated with them. In addition to these two kinds of elements on a map, you can import text files that have multiple locations in the form of latitude/longitude coordinate pairs, US National grid coordinates, MGRS coordinates, or a file containing up to 200 addresses. For each coordinate pair, coordinate, or address, ArcGIS Explorer will create a place result. In addition to marking the locations on the map, you can associate the contents of a field with that location and display it when you click on the symbol that marks the location.

Learn more about the File Import Wizard
Learn more about result properties

In all of the instances cited above, you can supply plain text as the note text or as the description of the location. In addition to plain text, and perhaps more usefully, you can supply HTML markup as note text or as the contents of your file's Description field. This can include images, links, even forms, stylesheet references, or other markup. It is also possible to provide an url or file path. Following are some examples of what you can do. For each of these examples, the HTML markup cited would be entered in the Create Notes task's Note Text, the result's Popup Content property or in the imported text file's Description field. Note that the markup is formatted the way it is here only for easy of reading.

To open a web page in the window associated with the note, result, or location
http://www.esri.com
To display text and a link to a web page
<html>
<p>A link to the EDN Web site follows this text. It will appear in this window.</p>
<a href="http://edn.esri.com">Link to the EDN site</a>
</html>
To display text and a link to a web page in a separate popup window
<html>
<p>A link to the ESRI Web site that opens in another window follows this text</p>
<a href="http://www.esri.com" target=_blank>Link to the ESRI site</a>
</html>
To specify inline styles
<html>
<body style="color:white;background-color:navy">
<h3>The Window's Headline</h3>
<p>The text of the body of the window is white and the background color is navy, whereas the attributes of the span below are different.</p>
<span style="color:black;background-color:yellow">This is some text in a span block</span>
<p>Some text following the span</p>
</body>
</html>
To incorporate an external stylesheet to set styles in a popup window
<html>
<head>
<link rel="stylesheet" href="http://myserver/styles/mystylesheet.css" Type="text/css">
</head>
<div class=divStyle2>This div has all the attributes of the class divStyle2 in mystylesheet.css.</div>
</html>
To use an external Javascript file that contains additional functionality
<html>
<head>
<script href="http://myserver/scripts/myfuncs.js"></script>
</head>
<body>
<div class=divAction onclick="performAction()">When you click on this text a Javascript function named performAction will execute.</div>
</body>
</html>
General Notes