For the below code :
<!DOCTYPE html>
<html>
<head>
<style>
div::before {
content: "Adding Before -";
}
</style>
</head>
<body>
<p>Test</p>
<div>Content</div>
</body>
</html>
The out put would be "Adding Before - Content"
But my question is, in the DOM i can see only the "<div>Content</div>
". Where are the words "Adding Before -" present in the DOM?
EDITED : i want to know if the values that we would would be present in theDOM or not.If no, please can you explain the architecture as how it works.