<style type = "text/css"> <! - input {background:expression((this.readonly && this.readonly == true)? "#cccccc": "")} - > </style> <body> <入力型= "text" name = "" /> <入力型= "text" name = "" readonly = "readonly" />表現:处理方式:式(操作手法);表現(?:)