From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/glossary/element/index.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 files/ko/glossary/element/index.html (limited to 'files/ko/glossary/element') diff --git a/files/ko/glossary/element/index.html b/files/ko/glossary/element/index.html new file mode 100644 index 0000000000..d0d4bf5ca0 --- /dev/null +++ b/files/ko/glossary/element/index.html @@ -0,0 +1,24 @@ +--- +title: 요소 +slug: Glossary/Element +tags: + - CodingScripting + - Glossary + - HTML + - 엘리먼트 +translation_of: Glossary/Element +--- +
{{QuickLinksWithSubpages("/ko/docs/Glossary")}}
+ +

요소(element)는 웹 페이지를 구성합니다. {{glossary("XML")}}과 {{glossary("HTML")}}에서, 요소는 데이터 항목, 텍스트 한 묶음, 이미지를 담을 수 있고, 아무것도 담지 않을 수도 있습니다. 일반적인 요소는 여는 태그와 몇 가지 {{glossary("attribute", "특성")}}, 내부의 텍스트 콘텐츠, 닫는 태그로 구성됩니다.
+ Example: in <p class="nice">Hello world!</p>, '<p class="nice">' is an opening tag, 'class="nice"' is an attribute and its value, 'Hello world!' is enclosed text content, and '</p>' is a closing tag.

+ +

요소와 {{glossary("tag", "태그")}}는 같지 않습니다. 태그는 소스 코드에서 요소의 시작과 끝을 표시하고, 요소는 {{glossary("browser", "브라우저")}}가 페이지를 표시할 때 사용하는 문서 모델인 {{glossary("DOM")}}의 일부입니다.

+ +

같이 보기

+ + -- cgit v1.2.3-54-g00ecf