Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <style> li:after { content: " (" attr(data-sitcom) ")"; } </style> <ul> <li data-sitcom="The Simpsons"> Homer </li> <li data-sitcom="Family Guy"> Peter </li> <li> Meg </li> <li data-sitcom="The Simpsons"> Bart </li> <li data-sitcom="The Flintstones"> Barney </li> <li data-sitcom="Futurama"> Professor Farnsworth </li> </ul>