1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!DOCTYPE html> <html class="html"> <head class="head"> <meta charset=utf-8 /> <style> .before:before { content: "before"; } </style> </head> <body class="body"> <h1>Test void elements in HTML document</h1> <img> <hr> <hr class="before"> <br> </body> </html>