node.js
  • pug
  • 2017-04-26 49 views 0 likes 
    0

    你如何让图像在帕格的链接我已经试过帕格图像为纽带

    a(href='https://github.com/LouieAdamian') img(src="/img/GitHub.png") 
    

    img(src="/img/GitHub.png") 
    a(href='https://github.com/LouieAdamian') 
    

    a(href='https://github.com/LouieAdamian') 
    img(src="/img/GitHub.png") 
    

    没有这些工作,我的醚最后以文字img(src="/img/GitHub.png")作为链接或根本没有链接。

    回答

    3

    这样:

    a(href='https://github.com/LouieAdamian') 
        img(src="/img/GitHub.png") 
    
    相关问题