dhtml interview questions

DHTML Interview Questions and Answers

We have listed of DHTML Interview Questions and Answers that have been designed for DHTML professionals who are preparing interviews on DHTML. The Dynamic HTML, called DHTML for short, is the name given to a set of Web development techniques that are mostly used in Web pages that have non-trivial user-input features. DHTML means manipulating the Document Object Model of an HTML document, fiddling with CSS directives in style information, and using client-side JavaScript scripting to tie everything together.

Best DHTML Interview Questions and Answers

Below we have provided best DHTML Interview Questions that are specially designed for DHTML Programmers.

What is DHTML?

Defination of DHTML according to W3c(World Wide Web Consortium) is: “Dynamic HTML is a term used by some vendors to describe the combination of HTML, style sheets and scripts that allows documents to be animated.” DHTML stands for Dynamic HTML.DHTML is not an language. Using DHTML we can use DOM, CS S , JavaScript and HTML together. We use DHTML to make the web pages’ dynamic and interactive.

What are the features of DHTML?

  • Some most important features of DHTML are given below:
  • Using DHTML we can change the tags and their properties.
  • It is use for Real-time positioning.
  • It is used to generate dynamic fonts (Netscape Communicator).
  • Used for Data binding (Internet Explorer).

What is the difference between DHTML and HTML?

Some main difference b/w DHTML (Dynamic HTML) and HTML(Hyper Text Markup Language)are given below.

  • Using DHTML we can use JavaScript and style sheets in our HTML page.
  • Using DHTML we can insert small animations and dynamic menus into our HTML page.

If use want that your web page display your DHTML effects(object or word can highlighted, larger,a different color etc) than you have to save your web page with .dhtml extension except .html or .htm


How to Handle Events with DHTML?

Event is use to trigger actions in the browser. When client click on the element, associated action will started. Like: an JavaScript will started when client click on element.

Using Event Handler, we can do like that, when an event occur it will execute code associated with that element.

Example:

In this example header will changes when client clicks.

<hl onclick="this.innerHTML='abc!'">Click on this text</hl>

We can add a script in the head section and then we call the function from the event handler.

Example:

<html>
<head>
<script type="text/javascript">
function changetext(id)
{
id.innerHTML="abc!";
I </script>
</head> <body> <hl onclick="changetext(this)">Click on this text<hl>
</body> </html>

In DHTML what is the difference between FontSize and Font Size?

“FontSize” is a property, “Font Size” is a style in DHTML.

What is the difference between HTML and DHTML?

html is used to write only static content Dhtml is used to write dynamic content like using JavaScript or vbscript in html to make html page dynamic html is a error free language where dhtml is not a error free language

How DHTML work with JavaScript?

Using JavaScript, we can made dynamic HTML content.

We can use document.write() to show dynamic content on your web page.Below I have given you HTML page which made dynamic after using JavaScript.This example will show current date.

Example:

<html> <body> <script type="text/javascript">
document.write(Date()),
</script> </body> </html>

What are the attributes that make up a DHTML?

DHTML is called as Dynamic HTML. This is used to increase the interactive ability and the visual effect of the web pages which is loaded in the browser. The main technologies that are used in DHTML are namely:

  • HTML
  • JavaScript

CSS which is also called as Cascading Style Sheet * DOM also called as Document Object Model

How Font Size and Font Size is differing in DHTML?

Font size is an attribute that we used in font tag. Where as font-size is an style property.

<font size=”5″> use in font tag. p(font-size:”5″} use in CSS.

Tell me about technologies that we use in DHTML?

Some technologies that we used in DHTM1 are given below:

  • JavaScript
  • HTML DOM
  • HTML EVENT
  • C S S

1 JavaScript: It is an standard of scripting for HTML. Using JavaScript DHTML can control,access and manipulate HTML element.

2.HTML DOM: It is an Document Object Model which is an W3C Standard for HTML.Using HTML DOM is used to define standard to set of objects and to access and manipulate them for HTML.Using HTML DOM, DHTML can access and manipulate HTML elements.

3.HTML Events: It is an part of HTML DOM and used to handle HTML elements.We use DHTML with HTML Events to make web pages those perform action when event occour.

4.CSS: It is an W3C standard style and layout model made only for HTML. DHTML use JavaScript and DOM to change position and style of HTML elements.

Thus, the compilation of these questions includes some of the major points that can be asked during an interview. The DHTML interviewers generally check the base knowledge of a candidate, which can be gained by practicing these questions prior interview.

So if you have finally found your dream job in DHTM but are wondering how to crack the DHTML Interview and what could be the probable DHTML Interview Questions. Every interview is different and the scope of a job is different too. Hope above assist you to get a dream Job. Keep Learn.

Online Training Tutorials

  • XML Interview QuestionsXML Interview Questions and AnswersBelow is the list of latest and updated XML interview questions and their answers for fresher’s as well as experienced users. These interview question covers basic and latest version of […]
  • VBScript Interview Questions and AnswersVBScript Interview Questions and AnswersVBScript is a powerful but easy-to learn scripting language that you can use to perform a number of useful activities, including enhancing your web pages and automating repetitive or […]
  • Siebel Interview Questions and AnswersSiebel Interview Questions and AnswersSiebel is a CRM (Customer Relationship Management) application. It is mainly deployed by companies which have huge customer base and expect regular interaction with them. There are other […]
  • Ruby Interview QuestionsRuby Interview Questions and AnswersProgramming Ruby is known to Rubyists. It is a tutorial and reference for the Ruby programming language. Before we start talking about the Ruby language, it’d be useful if we helped you […]
  • PHP Interview QuestionsPHP Interview Questions and AnswersBelow is the list of latest and updated PHP interview questions and their answers for fresher’s as well as experienced users.  The combination of PHP and MySQL is the most convenient […]
  • OOP Interview Questions and AnswersOOP Interview Questions and AnswersThere are still people, for instance, that call Artificial Intelligence to any program that is written in Prolog or Lisp. In the same way, there are those who maintain that any program […]
  • OOAD Interview QuestionsOOAD Interview Questions and AnswersOOAD -Object-Oriented Design: The emphasis in programming methods is primarily on the proper and effective use of particular language mechanisms. By contrast, design methods emphasize the […]
  • MySQL Interview Questions and AnswersMySQL Interview Questions and AnswersMySQL is a relatively recent entrant into the well-established area of relational database management systems (RDBMs), a concept invented by IBM researcher Edgar Frank Codd in 1970. […]