Home  >  Article  >  Web Front-end  >  Can JavaScript be used to write web pages?

Can JavaScript be used to write web pages?

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-07-16 14:20:464816browse

Javascript can write web pages, and it doesn’t matter if you don’t write a single line of CSS. However, html is still required, after all, html is used as the entrance. Pure js can write html css through dom operations.

Can JavaScript be used to write web pages?

The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.

Can. It doesn’t matter if you don’t need to write a single line of html, and you don’t need to write a single line of css. However, html is still required, after all, it is the entrance. Pure js can write html css through dom operations.

javascript is a scripting language. The so-called language is the code that can be written by the computer. It should be distinguished from the asp development environment. The script is executed by the client. , Server-side execution script.
Javascript can be used as a client-side script or a server-side script. The three functions you mentioned can be realized, but most of them require the use of client-side scripts.

The most basic language for web design is HTML. This language is very easy to learn. If a novice studies seriously, it can be learned in at most two weeks. After mastering HTML, you can use some ready-made tools such as: frontpage2000, dreamweaver2000, Wait for visual programmers to write some static web pages. During the writing process, you can compare the web page editing environment with the HTML language you have learned yourself to consolidate some grammatical knowledge of the HTML language. After mastering the above knowledge, you can say , you can edit a web page of your own. If you pursue artistic effects, you can learn the web drawing software of Three Musketeers.

In the second stage, you can learn a scripting language, such as Speaking of JAVASCRIPT and VBSCRIPT, you only need to learn one of these two scripting languages. When you learn these two languages, you can create some dynamic web pages and then you can learn the ASP language. This language can be regarded as a language specially developed by Microsoft for the Internet. After you master the ASP language, you can say that you can create a series of web pages that can be seen on the Internet. The last one is the database. If If you have never studied a database before, I suggest you learn ACCESS first, which is a very simple database software.

When you finish learning these things, you can be said to be a relatively qualified web page producer, and of course you must become an expert. You still need to go deeper on the above basis. But I believe that once you master the above things, you will not be able to deal with ordinary websites.

[Recommended learning: javascript Advanced Tutorial

The above is the detailed content of Can JavaScript be used to write web pages?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn