Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是编程新手。使用 Javascript 并使用 Visual Studio 进行编码。当我学习 HTML 时,我能够在浏览器上看到我的作品。我不知道如何为 Javascript 做这件事。谢谢。
Javascript 是一种编程语言,您必须将其与 HTML 一起使用才能使其工作。Javascript 仅向您的 HTML 代码添加功能,它不会为您提供任何视觉结构。有关更多信息,您可以参考此链接:-
https://www.w3schools.com/js/js_whereto.asp