Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!doctype html> <title>Example</title> <style> body { line-height: 0.8em; counter-reset: myCounter; background: beige; } h1 { font-size: 1.2em; } h1:before { content: counter(myCounter, lower-roman) ". "; counter-increment: myCounter; } </style> <h1>Apples</h1> <p>I like apples.</p> <h1>Oranges</h1> <p>Oranges are good.</p> <h1>Bananas</h1> <p>A perfect snack.</p>
Preview