小编Mla*_*dek的帖子

HTML中的ASCII艺术

我该怎么做才能使它像在Web浏览器中的HTML文档中一样打印?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Example</title>
    </head>
    <body>
        ###### #    #   ##   #    # #####  #      ######
        #       #  #   #  #  ##  ## #    # #      #      
        #####    ##   #    # # ## # #    # #      ##### 
        #        ##   ###### #    # #####  #      #      
        #       #  #  #    # #    # #      #      #      
        ###### #    # #    # #    # #      ###### ######
    </body>
</html>
Run Code Online (Sandbox Code Playgroud)

得到:

#### ####### ####### …

html ascii-art

34
推荐指数
2
解决办法
4万
查看次数

标签 统计

ascii-art ×1

html ×1