+ 3
what is an element ?
3 Answers
+ 3
Basically, the tags you put in your html code defines elements (for example, <p></p> defines a paragraph element). Before your browser renders the page, the html code is parsed into the DOM, and individual components of the DOM are called elements.
https://en.wikipedia.org/wiki/HTML_element
An HTML element is an individual component of an HTML document or web page, once this has been parsed into the Document Object Model. HTML is composed of a tree of HTML elements and other nodes, such as text nodes. Each element can have HTML attributes specified. Elements can also have content, including other elements and text. Many HTML elements represent semantics, or meaning. For example, the title element represents the title of the document.
+ 1
it is the all tags liked <p> ..âŠ.</p>
0
HTML Elements
Some elements are quite small. Since you can't put contents within a break tag, and you don't have an opening and closing break tag, itâs a separate, single element.
So HTML is really scripting with elements within elements.