Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
HTML <ul> 요소는 정렬되지 않은 목록을 나타냅니다. 보통 불릿으로 표현합니다.
| 플로우 콘텐츠. 또한, 최소 하나의 <li> 요소를 자식으로 둔다면 뚜렷한 콘텐츠. |
| 0개 이상의 <li>, <script>, <template> 요소. |
| 불가능, 시작과 끝에 태그를 추가하는 것은 필수입니다. |
| 플로우 콘텐츠를 허용하는 모든 요소. |
| directory, group, listbox, menu, menubar, radiogroup, tablist, toolbar, tree, presentation |
| HTMLUListElement |
이 요소는 전역 특성만 포함합니다.
compactThis Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent, and it doesn't work in all browsers.
경고 : Do not use this attribute, as it has been deprecated: use CSS instead. To give a similar effect as the compact attribute, the CSS property line-height can be used with a value of 80%.
This attribute sets the bullet style for the list. The values defined under HTML3.2 and the transitional version of HTML 4.0/4.01 are:
circle disc square
A fourth bullet type has been defined in the WebTV interface, but not all browsers support it: <code>triangle`.
If not present and if no CSS list-style-type property applies to the element, the user agent selects a bullet type depending on the nesting level of the list.
경고 : Do not use this attribute, as it has been deprecated; use the CSS list-style-type property instead.
보통 비정렬 목록의 항목은 선행하는 불릿 마커와 함께 표시합니다.
<ul>과 <ol>은 필요한 만큼 중첩할 수 있고, 서로 교차할 수도 있습니다.
<ul>과 <ol>은 모두 목록을 나타냅니다. 차이가 있다면 <ul>에서는 순서가 중요하지 않다는 점입니다. 항목의 순서를 바꿨을 때 의미도 바뀐다면 <ol>을 사용하세요. 그렇지 않으면 <ul>을 사용할 수 있습니다.
| HTML # the-ul-element |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2026년 4월 15일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.