源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> <style> h1 { letter-spacing: 3px; } h2 { letter-spacing: -3px; } </style> </head> <body> <h1>这是标题 1</h1> <h2>这是标题 2</h2> </body> </html>
运行结果