交集選擇器是由兩個選擇器直接連接構成的,其中第一個必須是標簽選擇器,第二個必須是類選擇器或者ID選擇器,這兩個選擇器之間不能有空格,必須連續書寫
<html> <head> <title>交集選擇器</title> <style type="text/css"> p.txt{ color:blue; } </style> </head> <body> <p>恰是一江<strong class="txt">春水</strong>向東流</p> </body> </html>
