I have created a link to YouTube using tag in HTML, but it doesn't work when I click on the text. Here is the code:
<div>
<p>Source to <a href="https://www.youtube.com/">
<span style="color:red">Youtube</span></a>.</p>
</div>
Thanks for any help for the answers
答案 0 :(得分:1)
它必须是href
而不是“ herf”。只是普通的语法错误或错字。
答案 1 :(得分:0)
发现差异:D
<a herf="https://www.youtube.com/">Youtube</a>
<a href="https://www.youtube.com/">Youtube</a>
答案 2 :(得分:0)
点击here 观看我的YouTube视频。
Click <a href="http://www.youtube.com">here</a>to view my YouTube video.
这对您有帮助