Skip to content

Subsequent sibling combinator

The ~ tilde symbol is a combinator

h1 ~ pre
represents a pre element following an h1. It is a correct and valid, but partial, description of:

<h1>Definition of the function a</h1>
<p>Function a(x) has to be applied to all figures in the table.</p>
<pre>function a(x) = 12x/13.5</pre>

CSS