Skip to main content Skip to docs navigation

An element is a part of a webpage. In XML and HTML , an element may contain a data item or a chunk of text or an image, or perhaps nothing. A typical element includes an opening tag with some attributes , enclosed text content, and a closing tag.

On this page

Updated on April 20, 2024 by Datarist.