1、属性选择器 1.1格式: 标签[属性] { } 1.2注意点 ^是开头 $是结尾 *是任意处 1.3测试代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">