1
I’m in a situation where I need to find content without a specific tag. Of course any content is surrounded by a tag, even if it’s body
or html
. With the example becomes clearer what I need:
<div class='texto'>
<p>Essa imagem é muito bonita!</p>
<img src='imagens.png'/>
Foi tirada em Munique, Alemanha
</div>
In case, I need to stylize equal manner the two texts, both of which are involved by a p
, how much is thrown directly into the div
. Because when I need to use attributes in css like line-height or other things like that, the styling doesn’t look cool. I wanted to see how best to select this content loose in div
Where does this text come from? can’t you fix it on the server? or in the html document directly?
– Sergio