From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- .../index.html" | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 "files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/\321\215\320\273\320\265\320\274\320\265\320\275\321\202/index.html" (limited to 'files/ru/словарь/элемент/index.html') diff --git "a/files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/\321\215\320\273\320\265\320\274\320\265\320\275\321\202/index.html" "b/files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/\321\215\320\273\320\265\320\274\320\265\320\275\321\202/index.html" new file mode 100644 index 0000000000..e830c4a29b --- /dev/null +++ "b/files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/\321\215\320\273\320\265\320\274\320\265\320\275\321\202/index.html" @@ -0,0 +1,20 @@ +--- +title: Элемент +slug: Словарь/Элемент +tags: + - HTML + - Словарь +translation_of: Glossary/Element +--- +

Элемент - это часть веб-страницы. В XML и HTML элемент может содержать данные, фрагмент текста или изображения, или не содержать ничего. Обычный элемент включает в себя открывающий тэг с некоторыми атрибутами, текст и закрывающий тэг.
+ 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("DOM")}}, объектной моделью документа для отображения страницы в {{glossary("browser", "браузере")}}.

+ +

Смотрите также

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