نتیجه
امتحان کنید
<!DOCTYPE html> <html> <head> <title></title> <style> a[target=_blank] { background-color: yellow; } </style> </head> <body> <a href="http://www.Google.com">Google.com</a> <a href="http://www.tahlildadeh.com" target="_blank">tahlildadeh.com</a> <a href="http://www.yahoo.com" target="_top">yahoo.com</a> <p dir="rtl"><b>توجه :</b> IE7 و IE8 هر دو تنها زمانی توانایی پشتیبانی از گزینشگرهای صفت را دارند که یک !DOCTYPE برای آن تعریف شده باشد . </p> </body> </html>
امتحان کنید