<pseudo> </pseudo>?
<pseudo> </pseudo>
CSS pseudo-elements are not in the DOM. But internally, they must be equivalent to some generalized HTML element, because they can be styled, visible, and affect the flow of pages.
What is the type of pseudo element element?
And can we programmatically create them without using CSS?
, , , DOM, , "", "" . CSS , , ::first-letter ::first-line, ::before ::after .
::first-letter
::first-line
::before
::after
, , DOM. CSS DOM , , , . , DOM; , .
, CSS ( ), -, CSS. CSS CSSOM, CSS DOM ( , window.getComputedStyle()). CSSOM, , CSS.
window.getComputedStyle()