Web design

Understanding the Difference between Web and App Server

In the world of client-server architecture, there is always a confusion related to what responsibilities are handled by a web server and an app server. In this post we will go deep into the roles played by both What is Web Server A Simple Web Server works on HTTP protocol and does the job of […]

Accessing HTML page elements in JavaScript Console

While working with HTML pages during design or prototyping, most of the times we have to access the HTML page elements and depending upon some user action values of those HTML elements can be manipulated. In this post, we will explore the ways to access different HTML elements while working with user data and manipulating […]

Using DOCTYPE in html document

Ever wondered why !DOCTYPE html is written at the beginning of an HTML document. Well, it’s not an HTML tag. It’s an instruction to the web browser to tell about HTML version which is used to write that particular HTML document.   Various DOCTYPE declarations Let us see how DOCTYPE declaration is used for different […]

JavaScript: Understanding Document Object Model (DOM)

Document Object Model or DOM is a programming interface for the document (HTML, Dynamic HTML or XML) which provide the ability to manipulate the elements (HTML tags and String literal) that makes up a document. In a normal scenario, when server sends the response in the form of an HTML page, browser takes that HTML […]

Javascript: Placing of script tag, does it matter?

We know that to execute any java script statement, we have to include it in tags. But where you put the tag in html page also matters. The placing can change the behavior of html page. Browser will execute the javascript statement at the first occurrence of tag. Let us see that with a short […]

Javascript: Is really javascript client side language?

The general perception is that since javascript is used only in browsers, it is considered to be a client side language. But that’s not true, javascript can be used in other places other than web browsers. Node.js Yes, javascript can be run on the server side with Node.js. In the early days of web development, […]

Javascript: Online JS interpreter for quick check

Sometimes, we are in need to quickly check the working of one or the other api. Online interpreter comes very handy at those times. Recently, I came across a similar utiliy which I am sharing below http://mochi.github.io/mochikit/examples/interpreter/ Snapshot