label, class, id selector

1. Label selector: select by label

 2. Class selector: select by setting the class name for the label (syntax: .attribute name)

 3.id selector: set the id for the label, and select the label by the id name (syntax: #attribute name)

 

Guess you like

Origin blog.csdn.net/qq_53590046/article/details/121458786