源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> <style> a { display: block; } </style> </head> <body> <p>作为块级元素显示链接:</p> <a href="#" target="_blank">HTML</a> <a href="#" target="_blank">CSS</a> <a href="#" target="_blank">JavaScript</a> </body> </html>
运行结果