Link to home
Start Free TrialLog in
Avatar of DamienL
DamienL

asked on

What is DHTML

1 What is DHTML, dynamicHTML?
2 Is it a whole new language with its own syntax?
3 Is there much to it if you know HTML and ASP?
Avatar of seanpowell
seanpowell
Flag of Canada image

Here's a good overview for you:
http://www.w3schools.com/dhtml/default.asp
Avatar of Daydreams
Daydreams

1. DHTML is dynamic hypertext markup language, a combination of resources using HTML, javascript, CSS (cascading style sheets), and other technologies to make a web page more "dynamic" (interactive).
2. It is not a new language, rather it is the cobined use of several technologies.
3. If you know HTML you should be able to learn to implement DHTML.

Here is a nice definition and tutorial:
http://hotwired.lycos.com/webmonkey/authoring/dynamic_html/tutorials/tutorial1.html
DHTML means dynamica html lol and here's a tutorial page
http://www.javascriptkit.com/dhtmltutors/index.shtml

and

www.webreference.com/dhtml/ 

and

www.dynamicdrive.com/ 

hope they help
1. dynamic html is anything having to do with html + css/javascript to make things happen.
2. no, but it could seem like it was.
3. if you know html and asp you'll be fine.

and example of dhtml could be...

<html>
<head>
<style>
a {color: green}
a:hover {color: blue}
</style>
</head>
<body>
<a href="#" onclick="window.open('http://www.google.com');">Google</a>
</body>
</html>
DHTML is dynamic HTML that is write !   :-)

It combines HTML with JS / VB (JavaScript / VB Script ) and CSS (cascading style sheets) .

Why it was build ?

It was build a long time before the name actualyy comes familiar to all programers bacause they all use HTML , CSS and JS so they just came to a name ... there are other names like XHTML , SHTML and other which are unfamiliar to me ...

ASP (active server pages) is a powerful well growing language which is good at many ways !

You can feel well of combinig these languages HTML ,ASP adn JS or VB which you must already know if you are an ASP programer ... but the stupiest thing about ASP is that it is from MS which you must know is very closed   :-(
I am familiar to ASP but I do not use it any more because of these facts !
I will not tell you about MS weekness but I want just to add that Microsoft is more than over for me ... they losse because of open source programming , projects like Linux and other ...
They close themselfs more and more like in the VPC ! It don't runs Linux , BSD , Solaris ... other OS .. only WIN !!!
You can think about that ! Try PHP , JSP , CGI (Perl) ... they are much mre powerful and in future you will understand that perl is good to be known becuse of Linux (Unix) ...

So I think I jump off the theme ! Sorry !!

Regards !

                      ---- HUMAN KNOWLEDGE BELONGS TO THE WORLD ----

                    ----- BG open source programers -----
DHTML stands for dynamic HTML.
It is NOT a new language containing new syntax but it is a combination of 3 language.

1) HTML - use to construct the page; tell the browser what to display. But it is not dynamic (i.e. it won't respond to you in anyways - apart from when u click on a hyperlink).

2) CSS - it is not exactly a new language. It is a "STYLE". It makes it easier for the website designers to maintain their pages. I don't want to get into technical details but basically if you define "desiredfont" (it could be any words) to be some text that has font-size of 10px and a font-color of blue, and u write "abcdefg" and call it "desiredfont", "abcdefg" will have a size of 10px, and a color of blue. "desirefont" can be used as many times as you want.

3) JavaScript - It is the language that makes your webpage "dynamic". In most cases, it is used with CSS. For example, one of the functions that CSS has is to hide things (e.g. a table). Suppose u want the table to disappear when the visitor put the mouse pointer over the table. U cant do that with pure HTML or CSS (using pure CSS, u can only hide the table when the page loads, not when one puts the mouse pointer over the table). It can be done with JavaScript - it enables u to make a dynamic webpage.

Overall, The above 3 languages are used together very often. And so for some reasons, people call the combination of the 3 languages DHTML.
continued

It is not enough to only know HTML and ASP. ASP does not allow stuff like a pop-down menu.u need to learn javascript as well

ASP is what is known as a server-side language. The server processes the ASP code and send the result to the client (to the web browsers) in the form of HTML.

ASP allows the programmers more control. e.g. if u use javascript to display a time, this time is based on the clock on the client's computer. If a person from the USA and a person from the UK view the page at the same time, the time displayed on the page is different (coz UK time is different from USA time).

Another powerful ASP function is the use of databases. For example, u want to make a guestbook. The messages are saved in a database, which is in the server. ASP code is then writen to retrieve the messages from the database and the resulting HTML code is sent to the the client side.
Heh !
ASP is a server side lang. but you can't write things in ASP if you don't know JS or VB script ... so this is absolutely unnecessry to say ... I think that my comment was clearly enough . The man have to decide what is going to learn ...
I prefer Java (because I know the language and know his strong pts) or Perl (because it is more and more used in Linux(UNIX) OSs and it is very good oponent for JSP ... so JSP is a oponent of CGI but doesn't matter) or PHP even it is allso a good  lang. (because of open source maybe)

Regards !
DHTML is a marketing term for HTML+JavaScript+CSS.

JavaScript is used to manipulate the CSS properties of HTML elements.
ASKER CERTIFIED SOLUTION
Avatar of Zontar
Zontar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial