Sample Use of HTML Elements within a Description

OGC 07-147r2 Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved. 39

9.1.4 Examples

9.1.4.1 Sample Use of HTML Elements within a Description

kml xmlns=http:www.opengis.netkml2.2 Placemark nameFeature.kmlname Snippet maxLines=4 The snippet is a way of providing an alternative description that will be shown in the List view. Snippet description [CDATA[ Styles: iItalicsi, bBoldb, uUnderlinedu, sStrike Outs, subscriptsubsubscriptsub, superscriptsupsuperscriptsup, bigBigbig, smallSmallsmall, ttTypewritertt, emEmphasizedem, strongStrongstrong, codeCodecode hr Fonts: font color=redred by namefont, font color=408010leaf green by hexadecimal RGBfont, font size=1size 1font, font size=2size 2font, font size=3size 3font, font size=4size 4font, font size=5size 5font, font size=6size 6font, font size=7size 7font, font face=timesTimesfont, font face=verdanaVerdanafont, font face=arialArialfont br hr Links: a href=http:doc.trolltech.com3.3qstylesheet.html QT Rich Text Rendering a br hr Alignment: br p align=leftleftpp align=centercenterp p align=rightrightp hr Ordered Lists: br olliFirstliliSecondliliThirdliol ol type=aliFirstliliSecondliliThirdliol ol type=AliFirstliliSecondliliThirdliol hr Unordered Lists: br ulliAliliBliliCliul ul type=circleliAliliBliliCliul ul type=squareliAliliBliliCliul hr Definitions: br dl dtScrumpydt OGC 07-147r2 40 Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved. ddHard English cider from the west countrydd dtPentanquedt ddA form of boules where the goal is to throw metal ball as close as possible to a jackdd dl hr Block Quote: br blockquote We shall not cease from explorationbr And the end of all our exploringbr Will be to arrive where we startedbr And know the place for the first time blockquote br hr Centered: br centerSee, I have a Rhyme assistingbr my feeble brain,br its tasks oft-times resistingcenter hr Headings: br h1Header 1h1 h2Header 2h2 h3Header 3h3 h3Header 4h4 h3Header 5h5 hr Images: br img src=http:www.opengis.netimagesgoogleearth.gif br iScaled imagei br img src=http:www.opengis.netimagesgoogleearth.gif width=100 br hr Tables: table border=1 padding=3 width=300 trtd1tdtd2tdtd3tdtd4tdtd5tdtr trtdatdtdbtdtdctdtddtdtdetdtr table ]] description Point coordinates-122.378927,37.826793,0coordinates Point Placemark kml

9.1.4.2 Sample Use of Atom Elements