When I select a plain text link in a HTML file and convert it using Emmet in VS Code by typing "a," a preview is shown as below:
<a href="https://www.google.com">https://www.google.com</a>
However, when I click Enter, the link in the href attribute disappears to become:
<a href="">https://www.google.com</a>
How can I prevent this from happening? Thanks in advance.
使用 Emmet,您可以打印a:link
或只是a:link[href="https://www.google.com"]{https://www.google.com}
,但是访问元素类型
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.