Home > Article > Web Front-end > DHTML
DHTML stands for Dynamic Hypertext MarkupLanguage i.e. Dynamic HTML. DHTML and HTML do not compete with each other, but it can be said that DHTML is the extended version of HTML along with using different web technologies. The HTML helps build static web pages, whereas DHTML allows for designing dynamic web pages with more interactivity. It allows designing an intuitive, dynamic user interface along with animations. It is not a specific technology or a standard, but it is a concept where multiple other technologies are used together to achieve a result. These different technologies used in DHTML are known as components.
Microsoft first introduced the application of DHTML in 1997 with the release of Internet Explorer version 4. Without DHTML, there used to be the use of only static web page. There are some incapabilities or disadvantages while using static web pages. There is no interactivity with static pages for the user. The page needs to be refreshed every time user wants some change. No dynamic actions can be taken on a web page without reloading it. The DHTML, however, provides the capability to achieve all of this.
The DHTML allows changing the web components dynamically on the client-side without reloading the web page. It provides a user with the flexibility to interact and change the values directly. DHTML allows us to change or alter the values and functions to perform differently according to the users. DHTML is a very broad concept; it will load the web page depending upon different users, load occurrence, or the values provided by users.
As said in the introduction, DHTML uses different web technologies together, and these are known as DHTML components. DHTML uses a combination of the below components to make websites interactive and achieve animations in a web site.
HTML is a client-side markup language that is used to design static web pages. HTML is the core component of DHTML. It defines the web page components to be displayed on a web page. HTML defines the structuring of components by using different elements and tags. HTML, however, allows to design only static web page; the user cannot change the values of elements dynamically at the client-side. But still, HTML is the basic component that is required to build a web site.
JavaScript is a client-side scripting language that is used to make static web pages dynamic. JavaScript allows changing the variable values, altering functions, and performing various activities as per user needs. JavaScript allows taking decisions on the client-side before sending them to the server, thus allowing a user to save time. We can program the behavior of the web page by using JavaScript. JavaScript allows the implementation of complex functionality and features on a web page. It allows us to update content dynamically, make some animations, and many more things.
Just as HTML is used to build web pages, CSS is used to design them and implement styles. CSS stands for Cascading Style Sheet, which is language to design web pages. CSS allows designing the layout and other styles that define how elements will be displayed on a web page. The same CSS file can be used on multiple web pages, which can save the amount of work and time. CSS supports JavaScript and DOM. By using this combination, we can change the styling and layout of the web page dynamically.
DOM stands for Document Object Model. It defines the logical structure of elements on a web page, and it provides a standard to access the elements and manipulate them. The DOM represents the main objects and elements on a web page and how they are related to each other. Using DOM and JavaScript, and CSS, we can change the style, structure, and content of web pages dynamically. DOM allows us to access the elements directly and precisely.
DHTML を使用すると、スタイル、コンテンツ、フォント、アニメーションの作成など多くのことを変更できる Web ページを動的にデザインできます。ユーザーはこれらの機能を使用して、最も創造的な方法で Web ページをデザインし、Web アプリケーションやゲーム、Web ページのあらゆる機能をすぐにデザインできます。
以下に長所と短所を示します
以下に利点を示します:
以下に欠点を示します:
DHTML は、HTML、CSS、JavaScript、DOM などの複数のテクノロジーを組み合わせて最終結果を得ることができる Web デザインの概念です。 DHTML を使用すると、さまざまなスタイルで動的な Web ページを構築できます。 Web ページ上でアニメーションを作成することもできます。
The above is the detailed content of DHTML. For more information, please follow other related articles on the PHP Chinese website!