Sublime Text
<!DOCTYPE html> <html> <head> <title>Xem ví dụ</title> <style type="text/css"> [title~="yeu"]{ color:blue; } </style> </head> <body> <h1 title="toi yeu em">Lập Trình Web 01</h1> <h1 title="tinh yeu">Lập Trình Web 02</h1> <h1 title="yeu">Lập Trình Web 03</h1> <h1 title="tinhyeu">Lập Trình Web 04</h1> <h1 title="yeudonphuong">Lập Trình Web 05</h1> </body> </html>
<!DOCTYPE html> <html> <head> <title>Xem ví dụ</title> <style type="text/css"> [title~="yeu"]{ color:blue; } </style> </head> <body> <h1 title="toi yeu em">Lập Trình Web 01</h1> <h1 title="tinh yeu">Lập Trình Web 02</h1> <h1 title="yeu">Lập Trình Web 03</h1> <h1 title="tinhyeu">Lập Trình Web 04</h1> <h1 title="yeudonphuong">Lập Trình Web 05</h1> </body> </html>