Is there the possibility of selecting all the children of a certain element, even though they are different? I put an example code;
<div id='contenedor'>
<a href='#'>Esto es un ejemplo>
<h1>Ejemplo h1</h1>
<p>Parrafo de ejemplo</p>
</div>
I mean to be able to give styles to all the elements within the div id='contenedor'
in a single statement. For example, that the elements a
, h1
and p
have a margin of 20px.