-6

What is the difference between both below. I see no difference in appearance after toggling.

h1 + h2
h1 ~ h2

Can someone please explain simple ?

Adarsh Nanu
  • 1,923
  • 1
  • 12
  • 17

1 Answers1

0

+ is for adjacent siblings

enter image description here

~ is for general siblings

enter image description here

Source

Community
  • 1
  • 1
Amit Joki
  • 56,285
  • 7
  • 72
  • 91