JavaScript for HTML Programmers

JavaScript is a object based scripting language created for developing Internet applications.We can develop server applications or client applications with JavaScript. We can embed JavaScript code in Web pages, which are written in HTML (Hypertext Markup Language). JavaScript is an extension to HTML that help us create more sophisticated Web pages than we ever could with HTML alone.

Javascript is an easy-to-use programming language that can be embedded in the header of our HTML pages. It can enhance the dynamics and interactive features of our page by allowing us to perform calculations, validate forms, write interactive games, animate objects, customize graphics selections, create security passwords, Adjust the page to fit the users browser and more.

As our web industry progress is rapid, One of the main things to think about when we write scripts is to make sure that they are compatible with the browsers we are targeting. JavaScript is a scripting language that you use to communicate with browsers and other applications, so it’s actually more of an interface than a programming language. However, when JavaScript is disabled many websites will become less dynamic and lose features which contain buttons and functionality powered by JavaScripts.

Embedding JavaScript in a Web page

<script type=”text/javascript”>
document.write(“My Blog!”);

One thought on “JavaScript for HTML Programmers

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s