源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> <style> span { display: block; } </style> </head> <body> <span>具有“block”样式的显示属性.</span> <span>两个元素之间会换行.</span> </body> </html>
运行结果