- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
Web Developers Interview Questions & Answers - Learning Mode

Web Developers Interview Questions & Answers - Learning Mode

A web developer is a programmer who specializes in, or is specifically engaged in, the development of World Wide Web applications, or distributed network applications that are run over HTTP from a web server to a web browser. A web developer is a programmer who specializes in, or is specifically engaged in, the development of World Wide Web applications, or distributed network applications that are run over HTTP from a web server to a web browser.

Try Web Developers Interview Questions & Answers - Exam Mode

1 2 Next

Sort By : Latest First | Oldest First | By Rating

Web Developers Interview Questions & Answers - Learning Mode
Try Web Developers Interview Questions & Answers - Exam Mode
Question: Explain what is Long Polling?

Answer: Long Polling is a web application development pattern used to emulate pushing data from the server to the client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Source:
Question: What are some new HTML5 markup elements?

Answer: Among several: <article>, <aside>, <bdi>, <command>, <details>, <figure>, <figcaption>, <summary>, <header>, <footer>, <hgroup>, <mark>, <meter>, <nav>, <progress>, <ruby>, <rt>, <section> and <time>. Source:
Question: Explain what is Long Polling?

Answer: Long Polling is a web application development pattern used to emulate pushing data from the server to the client. When the long polling is used, the client sends a request to the server, and the connection remains intact until the server is ready to send data to the client. The connection will be closed only after the data is sent back to the client or connection timeout occurs. Source:
Question: In HTML what tag can be used for a multi-line text input control?

Answer: For multi-line text input control, you can use the ?textarea tag?. Source:
Question: What are the possible ways to apply CSS styles to a web page?

Answer: Linked: Create a separate .css file and add all the style for the web page there. Make sure the file is linked to the HTML document(s) using the link tag
Embedded: Inside the HTML document, open a style tag and inside that, add all styles just like you?d do on a linked file.
Inline: This is done by adding a style attribute inside an HTML element. Source:
Question: What is the difference between HTML elements and tags?

Answer: HTML elements communicate to the browser how to render text. When surrounded by angular brackets <> they form HTML tags, which come in pairs and surround text. Source:
Question: Explain what are the key responsibilities of a Web Developer?

Answer: Program test and debug all web applications
Design, develop, test and deploy web applications
Uploading sites onto server and registering it with different search engines
Coordinate with other designers and programmers to develop web projects
Fix bugs, troubleshoot and resolve problems
In case of system failure initiate periodic testing and implement contingency plans
Develop appropriate code structures to solve specific tasks
Support and assist in the upkeep and maintenance Source:
Question: Explain what is DTD (Document Type Declaration)?

Answer: A DTD means Document Type Definition (DTD) which defines the structure, legal elements and attributes of an XML document.

PCDATA: A PCDATA is a Parsed Character Data. XML parsers usually parse all the text in an XML document.
CDATA: While CDATA is an Unparsed Character Data, the term CDATA is used about text data that should not be parsed by the XML parser. Source:
Question: What are the new image elements in HTML5?

Answer: The new image elements in HTML5 are Canvas and WebGL. <canvas> is a new element that acts as a container for graphical elements like images and graphics. WebGL stands for Web Graphics Language, a free cross-platform API that is used for creating 3D graphics in web browsers. Source:
Question: Explain what is an ETag and how does it work?

Answer: An ETag is an opaque identifier allocated by a web server to a specific version of a resource found at a URL. The ETag is a part of HTTP, the protocol for the world wide web and when the server reads the ETag from client request, the server can then tell whether to send the file (HTTP 200) or tell the client just to use their local copy (HTTP 304). Source:
Question: What is the advantage of collapsing White Space?

Answer: White Spaces are blank sequences of space characters, which is actually treated as a single space character in HTML. The browser collapses multiple space into a single space, so we can indent lines of text without worrying about multiple spaces. This enables us to organize the code into a much more readable format. Source:
Question: Describe/demonstrate your level of competence in a nix shell environment?

Answer: See how well they work without their precious GUI. Ask some basic questions like how they would recursively copy a directory from one place to another, or how you'd make a file only readable by the owner. Find out what OSs they have experience with. Source:
Question: How do you create links to sections within the same page?

Answer: Links can be created using the <a> tag, with referencing through the use of the # symbol. For example, we can have:
<a href=?#top?>BACK TO TOP</a>
which would result in the words ?BACK TO TOP? appearing on the webpage and links to a bookmark named top. We can then create a separate tag like:
<a name=top></a>
somewhere on the same webpage so that the user will be linked to that place when clicking on ?BACK TO TOP?. Source:
Question: Describe the difference between Cookies, sessionStorage and localStorage?

Answer: Cookies are small text files that websites place in a browser for tracking or login purposes, and hold a modest amount of data. Meanwhile, localStorage and sessionStorage are new objects, both of which are storage specifications but vary in scope and duration. Local storage is more secure, and large amounts of data can be stored locally, without affecting website performance. Futhermore, is it permanent. sessionStorage only lasts as long as the duration of the longest open tab. Source:
Question: Do you find any particular languages or technologies intimidating?

Answer: Almost all developers have personal web projects they like to plug away at in their spare time. This is another question that can help differentiate the passionate developers from the clock-punchers. It's also a good question to end an interview with, as it's usually easy (and fun) for them to answer. Source:
Question: How comfortable are you with writing HTML entirely by hand?

Answer: Although their resume may state that they are an HTML expert, often times many developers ca not actually write an HTML document from top to bottom. They rely on an external publisher or have to constantly flip back to a reference manual. Any developer worth a damn should at least be able to write a simple HTML document without relying on external resources. A possible exercise is to draw up a fake website and ask them to write the HTML for it. Keep it simple and just make sure they have the bas Source:
Question: Do all HTML elements need both opening and closing tags?

Answer: Not really, elements like <img src=""/> or <input type=""/> don?t need a closing tag. Source:
Question: List out the advantage of HTTP/2 as compared with HTTP 1.1?

Answer: The advantage of HTTP/2 compared to HTTP/1.1 is

HTTP headers data compression
Server push technologies
Over a single TCP connection parallel loading of page elements
Prioritization of request Source:
Question: What is the difference in Caching between HTML5 and HTML4?

Answer: An crucial new feature of HTML5 is the Application Cache which creates an offline version of a web application. and stores website files such as HTML files, CSS, images, and JavaScript, locally. Obviously, that speeds up site performance. Source:
Question: Mention what is the correct way to include JavaScript into your HTML?

Answer: The correct way to include JavaScript into your HTML is by using inline event handlers or inline code. Source:

1 2 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.359375 Seconds