Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> div :not(p){ background-color:yellow; } </style> </head> <body> <div> <p>Hướng dẫn học lập trình web 1</p> <p>Hướng dẫn học lập trình web 2</p> <span>Hướng dẫn học lập trình web 3</span> <p>Hướng dẫn học lập trình web 4</p> </div> <div> <span>Hướng dẫn học lập trình web 5</span> <p>Hướng dẫn học lập trình web 6</p> </div> <div> <span>Hướng dẫn học lập trình web 7</span> <p>Hướng dẫn học lập trình web 8</p> <p>Hướng dẫn học lập trình web 9</p> </div> </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> div :not(p){ background-color:yellow; } </style> </head> <body> <div> <p>Hướng dẫn học lập trình web 1</p> <p>Hướng dẫn học lập trình web 2</p> <span>Hướng dẫn học lập trình web 3</span> <p>Hướng dẫn học lập trình web 4</p> </div> <div> <span>Hướng dẫn học lập trình web 5</span> <p>Hướng dẫn học lập trình web 6</p> </div> <div> <span>Hướng dẫn học lập trình web 7</span> <p>Hướng dẫn học lập trình web 8</p> <p>Hướng dẫn học lập trình web 9</p> </div> </body> </html>