Skip To Content

웹사이트 구성에 지원되는 HTML

항목 페이지, 그룹 설명, 맵 팝업, 구성 설정 앱에 서식 있는 텍스트 편집기가 포함되어 있으면 ArcGIS Enterprise 포털에서 HTML을 사용할 수 있습니다.

HTML 태그 및 속성

아래는 지원되는 HTML 태그 및 속성 표입니다.

태그속성

a

href, style

abbr

title

article

style

aside

style

audio

autoplay, controls, loop, muted, preload

b, strong, i, em, u, ul, ol, li, tbody, br, hr

blockquote

style

code

style

dd, dl, dt

style

del

style

details

style, open

div

style, align, aria-label, aria-hidden

figcaption

style

figure

style

font

size, color, style

footer

style

h1, h2, h3, h4, h5, h6

style

header

style

img

src, width, height, border, alt, style

main

style

mark

style

nav

style

p

style

pre

style

section

style

source

media, src, type

span

style, aria-label, aria-hidden

sub

style

summary

style

sup

style

table

width, height, cellpadding, cellspacing, border, style

td, th

height, width, valign, align, colspan, rowspan, nowrap, style

time

style

tr

height, valign, align, style

video

autoplay, controls, height, loop, muted, poster, preload, width

HTML 고려 사항

다음 사항을 고려하세요.

  • 위의 표에 나열되지 않은 HTML 태그는 지원되지 않으므로 필터링됩니다.
  • hrefsrc에 허용된 프로토콜은 https, http, telmailto입니다.
  • 태그를 닫지 않아도 자동으로 닫힙니다.
  • <>&"s은(는) &lt;&gt;&amp;&quot을(를) 사용하여 이스케이프되지 않은 경우에는 태그 외부에서 이스케이프됩니다.
  • UNC 링크는 지원되지 않습니다.
  • a 태그가 사용된 경우 href 대상 URL은 항상 새 브라우저 탭에 열립니다.

CSS 등록정보

다음 테이블에는 지원되는 CSS 등록정보가 나와 있습니다.

비고:

ArcGIS Enterprise은 인라인 CSS만 지원합니다. CSS는 스타일 속성 내에서 정의해야 합니다.

배경 등록정보

다음은 지원되는 배경 등록정보가 나와 있는 테이블입니다.

등록정보

background

background-color

background-position

background-attachment

background-image

background-repeat

background-clip

background-origin

background-size

경계 등록정보

다음은 지원되는 경계 등록정보가 나와 있는 테이블입니다.

등록정보

border

border-image-repeat

border-right-style

border-bottom

border-image-slice

border-right-width

border-bottom-color

border-image-source

border-spacing

border-bottom-left-radius

border-image-width

border-style

border-bottom-right-radius

border-left

border-top

border-bottom-style

border-left-color

border-top-color

border-bottom-width

border-left-style

border-top-left-radius

border-collapse

border-left-width

border-top-right-radius

border-color

border-radius

border-top-style

border-image

border-right

border-top-width

border-image-outset

border-right-color

border-width

상자 등록정보

다음은 지원되는 상자 등록정보가 나와 있는 테이블입니다.

등록정보

box-decoration-break

box-sizing

box-suppress

box-shadow

box-snap

구분점 등록정보

다음은 지원되는 구분점 등록정보가 나와 있는 테이블입니다.

등록정보

break-after

break-before

break-inside

디스플레이 등록정보

다음은 지원되는 디스플레이 등록정보가 나와 있는 테이블입니다.

등록정보

display

display-inside

display-list

display-outside

Flex 등록정보

다음은 지원되는 flex 등록정보가 나와 있는 테이블입니다.

등록정보

flex

flex-direction

flex-grow

flex-wrap

flex-basis

flex-flow

flex-shrink

글꼴 등록정보

다음은 지원되는 글꼴 등록정보가 나와 있는 테이블입니다.

등록정보

font

font-size-adjust

font-variant-caps

font-family

font-stretch

font-variant-east-asian

font-feature-settings

font-style

font-variant-ligatures

font-kerning

font-synthesis

font-variant-numeric

font-language-override

font-variant

font-variant-position

font-size

font-variant-alternates

font-weight

격자 등록정보

다음은 지원되는 격자 등록정보가 나와 있는 테이블입니다.

등록정보

grid

grid-column

grid-row-start

grid-area

grid-column-end

grid-template

grid-auto-columns

grid-column-start

grid-template-areas

grid-auto-flow

grid-row

grid-template-columns

grid-auto-rows

grid-row-end

grid-template-rows

양쪽 맞춤 등록정보

다음은 지원되는 양쪽 맞춤 등록정보가 나와 있는 테이블입니다.

등록정보

justify-content

justify-items

justify-self

목록 등록정보

다음은 지원되는 목록 등록정보가 나와 있는 테이블입니다.

등록정보

list-style

list-style-image

list-style-position

list-style-type

여백 등록정보

다음은 지원되는 여백 등록정보가 나와 있는 테이블입니다.

등록정보

margin

margin-left

margin-top

margin-bottom

margin-right

안쪽 여백 등록정보

다음은 지원되는 안쪽 여백 등록정보가 나와 있는 테이블입니다.

등록정보

padding

padding-left

padding-top

padding-bottom

padding-right

텍스트 등록정보

다음은 지원되는 텍스트 등록정보가 나와 있는 테이블입니다.

등록정보

text-align

text-emphasis-style

text-align-last

text-height

text-combine-upright

text-indent

text-decoration

text-justify

text-decoration-color

text-orientation

text-decoration-line

text-overflow

text-decoration-skip

text-shadow

text-decoration-style

text-space-collapse

text-emphasis

text-transform

text-emphasis-color

text-underline-position

text-emphasis-position

text-wrap

단어 등록정보

다음은 지원되는 단어 등록정보가 나와 있는 테이블입니다.

등록정보

word-break

word-spacing

word-wrap

기타 등록정보

다음은 지원되는 기타 CSS 등록정보가 나와 있는 테이블입니다.

등록정보

align-items

gap

max-width

align-self

height

min-height

clear

letter-spacing

min-width

color

lighting-color

overflow

color-interpolation-filters

line-height

width

float

max-height

기존 배너

기본 설정에 따라 이전 버전에서 10.9로 업그레이드한 ArcGIS Enterprise 기관은 기존 홈페이지 구성을 갖추고 있습니다.

비고:

기존 홈페이지 설정은 향후 업그레이드에서 지원되지 않습니다. 그러므로 기존 기관은 새 홈페이지로 가능한 한 빨리 전환하는 것이 좋습니다.

기존 홈페이지 상단에는 960x180 픽셀의 배너 자리가 있습니다. 미리 정의된 이미지를 선택하거나 데스크톱의 파일을 업로드하여 배너 영역에 배치할 이미지를 선택할 수 있습니다. 또는 서식 있는 텍스트나 HTML을 사용하여 사용자 정의 디자인을 생성할 수 있습니다. 기존 홈페이지 설정의 일부로 배너를 구성합니다.

사용자 설정 디자인 옵션을 선택하면 그래픽과 텍스트를 "WYSIWYG(what you see is what you get)" 형식으로 배치할 수 있는 서식 있는 텍스트 편집기가 표시됩니다. 기존 배너 콘텐츠를 삭제하고 사용자 고유의 콘텐츠로 바꿉니다. 편집기에서 HTML 소스 보기 버튼을 클릭하면 사용자 고유의 HTML 코드를 입력하거나 붙여 넣을 수도 있습니다.

배너의 이미지만 선택하면 배너 이미지 내에 로고가 표시됩니다. 홈페이지 배너에 사용자 정의 디자인을 사용하면 로고가 나타나지 않습니다(디자인에 포함하지 않은 경우).

팁:

내 기관이 HTTPS 전용으로 설정된 경우에는 HTTPS를 통해 디자인의 이미지 참조에 접근해야 이미지가 배너에 나타납니다.

예시

아래는 HTML을 사용하여 생성된 배너의 예입니다. 각 예에는 배너 생성에 사용된 코드가 포함되어 있습니다. 이미지 URL을 사용자 고유의 URL로 바꿀 수 있습니다.

HTML로 생성된 배너
HTML을 사용하여 생성된 배너를 포함하는 홈페이지 예시입니다.

아래 코드는 Generic Environment Organization 배너 생성에 사용된 HTML 및 CSS를 포함하고 있습니다.

<div style="width: 960px; font-family: futura, helvetica, arial; 
background: url(https://imagesite/generic_env.png); height: 180px">
<div style="width:680px; margin-left: 220px; margin-top: 60px; float: left;">
<span style="font-size:24px; color:#fdf77d;
 font-weight:bold; text-transform:uppercase; text-shadow: 2px 2px 2px #085a00;">
Generic Environment Organization</span><br/>
<p style="color:#ffffff; font-size:14px;">Lorem ipsum dolor sit amet,
 consectetur adipiscing elit. Donec ullamcorper lorem pulvinar libero ultricies.</p></div> </div>

HTML을 사용하여 생성된 배너를 포함하는 홈페이지
HTML을 사용하여 생성된 배너를 포함하는 홈페이지 예시입니다.

아래 코드는 Government Home 배너 생성에 사용된 HTML 및 CSS를 포함하고 있습니다.

<div style="width: 960px; font-family: futura;
 background: url(https://imagesite/generic_gov.png); height: 180px">
<div style="margin-top: 120px; float: right; margin-right: 80px">
<a href="https://www.esri.com/industries/federal/index.html/" style="background: #65a9d7;
 background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
 background: -webkit-linear-gradient(top, #3e779d, #65a9d7); 
background: -moz-linear-gradient(top, #3e779d, #65a9d7); 
background: -ms-linear-gradient(top, #3e779d, #65a9d7); 
background: -o-linear-gradient(top, #3e779d, #65a9d7);
border-bottom:#fff 1px solid; border-left: #fff 1px solid; padding-bottom: 7px;
 padding-left: 15px; padding-right: 15px; font-family: helvetica, arial, sans-serif;
 color: white; font-size: 14px; vertical-align: middle; 
border-top: #fff 1px solid; border-right: #fff 1px solid; text-decoration: none;
 padding-top: 7px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
 border-radius: 3px; -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
 -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; box-shadow: rgba(0,0,0,1) 0 1px 0;
 text-shadow: rgba(0,0,0,.4) 0 1px 0" target="_blank">Government Home</a></div></div>

HTML을 사용하여 생성된 배너를 포함하는 홈페이지
HTML을 사용하여 생성된 배너를 포함하는 홈페이지 예시입니다.

권장되는 960x180픽셀(너비x높이) 배너 영역보다 큰 배너를 사용할 수 있지만 이미지가 추천 콘텐츠 이름과 같은 특정 영역과 겹칠 수 있습니다. 텍스트를 보이게 하려면 배너 하단이 기본 파란색과 매치할 수 있는 보색이거나 하단에 흐린 효과를 추가해야 합니다.

<div id="banner-html" style="left: 0px; top: 0px; position: absolute;"><div>
<img src="https://downloads.esri.com/Blogs/learn-arcgis/ago-banner/cartography-banner.png?" 
style="-webkit-border-radius:0 0 10px 10px; -moz-border-radius:0 0 10px 10px; -o-border-radius:0 0 10px 10px; 
border-radius:0 0 10px 10px; margin-top:0; width:960px; height:470px;"></div></div>