HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> p:last-of-type{ color: red; } </style> </head> <body> <h1>CSS :last-of-type Selector</h1> <a href="/js">Learn JavaScript</a> <p>This is the last paragraph of its parent (body).</p> <a href="/jquery">Learn JQuery</a> </body> </html>
OUTPUT
×

Save as Private