M
Mike
If you have the following xhtml fragment
<div>
Some text
</div>
This will be an element with innerText of "Some text".
But in the case of
<div>
Some text
<span>blah blah</span>
Some more text
</div>
How is this represented in a DOM? The <span> should be a child element
- are the "Some text" and "Some more text" sibling elements, and if
so, what type of element?
<div>
Some text
</div>
This will be an element with innerText of "Some text".
But in the case of
<div>
Some text
<span>blah blah</span>
Some more text
</div>
How is this represented in a DOM? The <span> should be a child element
- are the "Some text" and "Some more text" sibling elements, and if
so, what type of element?