HTML Developer

  Home  Web Development  HTML Developer


“HTML Developer Frequently Asked Questions in various HTML Developer job interviews by interviewer. The set of questions are here to ensures that you offer a perfect answer posed to you. So get preparation for your new job interview”



75 HTML Developer Questions And Answers

23⟩ Tell us what is web a application?

A great question to feel out the depth of the applicants knowledge and experience.

A web application is an application utilizing web and [web] browser technologies to accomplish one or more tasks over a network, typically through a [web] browser.

 192 views

24⟩ Tell us what were some of the key goals and motivations for the HTML5 specification?

HTML5 was designed to replace both HTML 4, XHTML, and the HTML DOM Level 2.

Major goals of the HTML specification were to:

☛ Deliver rich content (graphics, movies, etc.) without the need for additional plugins (e.g., Flash).

☛ Provide better semantic support for web page structure through the introduction of new structural element tags.

☛ Provide a stricter parsing standard to simplify error handling, ensure more consistent cross-browser behavior, and simplify backward compatibility with documents written to older standards.

☛ Provide better cross-platform support (i.e., to work well whether running on a PC, Tablet, or Smartphone).

 175 views

25⟩ Tell me what are tags?

Content is placed in between HTML tags in order to properly format it. It makes use of the less than symbol (<) and the greater than symbol (>). A slash symbol is also used as a closing tag. For example:

<strong>sample</strong>

 156 views

32⟩ Explain me what is the difference between form get and form post?

Get

With GET the form data is encoded into a URL by the browser. The form data is visible in the URL allowing it to be bookmarked and stored in web history. The form data is restricted to ASCII codes. Because URL lengths are limited there can be limitations on how much form data can be sent.

Post

With POST all the name value pairs are submitted in the message body of the HTTP request which has no restrictions on the length of the string. The name value pairs cannot be seen in the web browser bar.

POST and GET correspond to different HTTP requests and they differ in how they are submitted. Since the data is encoded in differently, different decoding may be needed.

 170 views

33⟩ Explain me what are some of the key new features in HTML5?

Key new features of HTML5 include:

Improved support for embedding graphics, audio, and video content via the new <canvas>, <audio>, and <video> tags.

Extensions to the JavaScript API such as geolocation and drag-and-drop as well for storage and caching.

Introduction of “web workers”.

Several new semantic tags were also added to complement the structural logic of modern web applications. These include the <main>, <nav>, <article>, <section>, <header>, <footer>, and <aside> tags.

New form controls, such as <calendar>, <date>, <time>, <email>, <url>, and <search>.

 187 views

34⟩ Explain me two benefits of HTML5 Web Storage?

Two main benefits of HTML5 Web Storage:

☛ It can store up to 10 MB data which is certainly more than what cookies have.

☛ Web storage data cannot be transferred with the HTTP request. It helps to increase the performance of the application.

 196 views

38⟩ Tell me how do you create links to sections within the same page?

Links can be created using the <a> tag, with referencing through the use of the number (#) symbol. For example, you can have one line as <a href=”#topmost”>BACK TO TOP</a>, which would result in the words “BACK TO TOP” appearing on the webpage and links to a bookmark named topmost. You then create a separate tag command like <a name=”topmost”> somewhere on the top of the same webpage so that the user will be linked to that spot when he clicked on “BACK TO TOP”.

 196 views

40⟩ Explain me how do you indicate the character set being used by an HTML5 document? How does this differ from older HTML standards?

In HTML5, the encoding used can be indicated with the charset attribute of a <meta> tag inside the document’s <head> element:

<!DOCTYPE html>

<html>

<head>

...

<meta charset="UTF-8">

...

</head>

...

</html>

This is a slightly simpler syntax from older HTML standards, which did not have the charset attribute. For example, an HTML 4.01 document would use the <meta> tag as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

...

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

...

</head>

...

</html>

 233 views