Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> div p:nth-of-type(2){ background-color:yellow; } p:nth-of-type(2){ font-size:30px; } </style> </head> <body> <div> <p>Hướng dẫn học lập trình web 1</p> <span>Hướng dẫn học lập trình web 2</span> <p>Hướng dẫn học lập trình web 3</p> <p>Hướng dẫn học lập trình web 4</p> </div> <p>Hướng dẫn học lập trình web 5</p> <p>Hướng dẫn học lập trình web 6</p> <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> </div> <div> <span>Hướng dẫn học lập trình web 9</span> <p>Hướng dẫn học lập trình web 10</p> <p>Hướng dẫn học lập trình web 11</p> </div> </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> div p:nth-of-type(2){ background-color:yellow; } p:nth-of-type(2){ font-size:30px; } </style> </head> <body> <div> <p>Hướng dẫn học lập trình web 1</p> <span>Hướng dẫn học lập trình web 2</span> <p>Hướng dẫn học lập trình web 3</p> <p>Hướng dẫn học lập trình web 4</p> </div> <p>Hướng dẫn học lập trình web 5</p> <p>Hướng dẫn học lập trình web 6</p> <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> </div> <div> <span>Hướng dẫn học lập trình web 9</span> <p>Hướng dẫn học lập trình web 10</p> <p>Hướng dẫn học lập trình web 11</p> </div> </body> </html>