What Is DHTML?
Keywords: DHTML
If you are creating a web site for the first time, then you probably have some knowledge of the HTML programming language. It is a fairly simple language to learn, and most beginning web designers are usually self-taught when it comes to using it for creating a simple web page. HTML provides the style, structure, and formatting for a web site.
However, HTML does not actually do anything. It is a static programming language. It does not process anything or make your site interactive, it just sits there and tells the browser how the site should look. So, other programming languages have been created to improve site design and make sites more interactive for the user.
One such language that has evolved is DHTML, a language that makes web pages both interactive and dynamic. It consists of several different components, including JavaScript, HTML, the Document Object Model (DOM) and Cascading Style Sheets (CSS). Using these, a web designer can control how the various elements of a web page are positioned and displayed within a web browser window. All pages designed with DHTML utilize client-side scripting, which means that the changes it initiates occur after the page has been fully loaded and viewing has begun. Server-side scripting languages, such as Perl and PHP, run on the server side before the page has finished loading.
Now we will examine each of the components of DHTML individually so that we can understand how this technology works. First, let us begin with the HTML. HTML is the principal language that is used to create web pages. It has been in use since the internet was first founded. To create a DHTML page, HTML 4.0 is used so that the structure of the page can be separated from the content through the use of the second component, style sheets.
Cascading style sheets specify how elements of a page are to be displayed. A cascading style sheet is normally an external file saved with a .css file extension and is uploaded with the rest of your web pages. This .css file specifies a layout for a webpage given certain tags and attributes. Then, all the programmer has to do is reference that .css file in the code for the webpage he or she is developing and just layout the webpage properly, and the .css file will automatically format all of the tags and attributes as specified. Specific styles can be applied to everything from paragraphs to email forms and much more.
The next component is the Document Object Model (DOM). This model is now compatible with most web browsers. It provides a standard set of objects that can be used in web programming, making it easier to access and change web documents. The Document Object Model looks at documents as a tree. Each of the elements within the document is regarded as a branch on a tree, and these elements can be accessed and modified through the DOM. Also, it is platform and language independent. This cross-platform compatibility is extremely significant because most wireless devices are now equipped with access to the internet and email. These wireless gadgets have installed on them web browsers and platforms that are not compatible with many elements of the basic HTML. The object model enables programmers to create documents that are structured in such a way that all web browsers will be able to display the document relatively equally, regardless of what sort of device is being used to view the
web page. Also, it is compatible with all programming languages, including JavaScript, which is the final component we need to cover.
JavaScript, contrary to its name, has virtually nothing to do with the Java programming language. JavaScript is a scripting language. Scripting languages are used to connect diverse pre-existing parts to accomplish a new related task without compiling. Instead, scripting languages are interpreted, and are executed faster than a compiling language. JavaScript is very versatile and can communicate with other languages effectively. JavaScript is a registered trademark of Sun Microsystems, and is compatible with every major browser on the market.
JavaScript is most often used to handle certain events that might take place as the user interacts with the web page. For example, if the user is filling out an online form on the site and enters invalid information into one of the form fields, then JavaScript can be programmed into the website to check the validity of the input before the form is submitted. If the input is invalid, the script can be used to prevent the form from being submitted and to tell the user what needs to be corrected.
Now that you have some background on what DHTML is, you should enroll in some courses at a local computer programming institute if you have never studied it or its component parts before. You can also try accessing some online tutorials to learn the basics. Though there are certain drawbacks associated with using it because it is interpreted differently by each browser, you should still become familiar with DHTML and know how to use its different versions so that you can create dynamic web pages. The ability to design interactive web sites is a valuable skill for all web designers to have.
Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.
Previous Articles Highlighter:
A Brief Introduction To E4X (1)
Nowadays, I find myself working up to 10 hours per day designing web sites. I have to use so many different programming languages and specifications when creating a site that it makes me dizzy.
What Is DTD? (2)
There are elements, attributes, entities, PCDATA, and CDATA. We will start with elements. Elements of XML are the tags. There are no predefined tags with XML; you can create your own tags.
What Is RSS? (3)
These feeds can be used for almost any purpose, such as listing recent company announcements for a company web site, or providing the scores for professional sporting events from the night before (RSS is used on a lot of sport-themed websites in this manner).
How To Hire The Right Web Designer (4)
This is critically important, because it can be very frustrating to flush money down the toilet on a design you hate without any way to recoup any of your funds afterwards.
What Is AJAX Programming? (5)
AJAX makes use of several components. One component is called Cascading Style Sheets (CSS). CSS is an easy way to create web sites by specifying certain intricacies and style preferences for the page layout as part of a separate file that can then be imported into any HTML document by simple referring to the CSS File.
What Is XML Schema? (6)
XML Schema was initially introduced by Microsoft, and was later endorsed and adopted by the World Wide Web Consortium (W3). XML Schemas ensure that data can be communicated in a format that is universal.
Introduction To HTML DOM (7)
The Document Object Model enables programmers to create HTML documents that are structured in such a way that all web browsers will be able to display the document relatively equally, regardless of what sort of device is being used to view the web page.
An Introduction To VBScript (8)
Also, scripting languages are interpreted, and are executed faster than a compiling language. VBScript is very versatile and can communicate with other languages effectively. VBScript is a variation of Visual Basic, an event driven programming language invented by Alan Cooper, and later bought and expanded by Microsoft.
Introduction To SQL (9)
All web designers need to understand how to create a simple database and how to create simple SQL statements to make that database accessible to the user. Since the syntax of the language is not complicated, it is easy to learn SQL using online tutorials.
What Is XML DOM? (10)
To learn how to properly use these methods and how to create the XML DOM object with different programming languages, you should search for some simple online tutorials to help you get started.
What Is WSDL? (11)
When the user inputs the ticker symbol for the stock for which they want the current market price, the web service that supplies the current price would be called to action by a WSDL file that would initiate a solicit-response operation so that the web service will return a response to the message.
What Are XForms? (12)
In a nutshell, XForms are forms without all the limitations associated with HTML forms. So, if you are a web designer or programmer, be wary of the fact that some people will not be accessing your forms from an ordinary PC.
What Is XSL? (13)
Languages and sub-languages such as XML, XHTML, style sheets, and a host of other more refined and yet more flexible specifications were spliced together to take web design to a new level.
What Is SOAP? (14)
As a result, the data contained in an XML file can be displayed equally across all platforms, browsers, and machines because every web browser displays a text file the same way, whereas some web browsers, particularly those installed on wireless devices, are not compatible with many elements of the HTML programming language.
Is Pay-Per-Click Worth It? (15)
You have to remember that most people using a search engine are only looking for information, and are not seeking to buy a product or service. So, if you're using PPC to get traffic to your website in order to sell something, make sure you bid on a keyword that will bring you customers who are looking to make a purchase and are not there just to glean information.
What Is XML? (16)
So, all web designers and programmers should become familiar with and learn to use XML for describing, storing, and sending data. With so many different ways now available to connect to the internet, not using a totally flexible language like XML could be extremely costly for any ecommerce business.
Broadband High Speed Internet: Choosing The Right Service (17)
Reading further, one finds that with broadband high speed Internet, there is no comparison to dial-up Internet. Satellite broadband has a 400 Kbps speed downstream and upstream speed. A satellite connection can be used when DSL and Cable are not available.
Search Engine Optimization Tips For New Websites (18)
Also, you can write articles and sign up for services that will submit your articles to a huge number of article directories where websites look for content. You can usually include a link to your website in the "author description" portion of the article.
Promoting Your MLM With Free Reports And Articles (19)
The something for nothing applies here very well. Offer them information or your own experiences about how to gather new leads or how to cold call, and you will find people interested in your methods and willing to come back to read them again or visiting your site in anticipation of the next report or article.
Do You Really Have To Pay For Internet Marketing Knowledge? (20)
They'll be at different levels of accomplishment and experience, but gather together for a common cause. Not all aspects of Internet Marketing are dog-eat-dog. Dogs are pack animals, and run together to benefit both the individual and the group.
Newer Articles Highlighter:
Choosing A Web Designer (1)
A freelancer is usually someone for whom web design is a hobby. This sort of a person has probably taken a few courses in simple web design at a local institute or college, or might be self-taught, and dabbles in web design as a part-time job or a way to earn extra cash.
Issues With Formmail (2)
If it does not include this code, you will need to hire a programmer to create it, or visit some free programming message boards and ask someone to help you with it.
The Importance Of Link Popularity (3)
It is possible for a website with a relatively small number of quality, relevant links to be ranked higher than a site with a bunch of nonsensical links. If I have a website that provides mortgage quotes, and I have 800 inbound links, and most of the sites linking to me are quality websites that are related to mortgages or personal finance, then I might receive a much higher search engine ranking than another mortgage site that has 3,000 links that are mostly from link farms or Free For All (FFA) pages.
Can Anyone Really Make Money Online? (4)
Usually, when a legitimate corporation posts a job opportunity on one of these telecommuting job sites, they never contact any of the applicants who submit resumes. The human resources department of that company is merely using the site as a way to collect resumes in case they want to contact someone who meets their qualifications for a certain job, but not necessarily the job being listed on the website.
A Guide To Internet Marketing (5)
Offline advertising (i.e. radio, TV, print ads) is sometimes not effective. Marketing on the internet is cheaper, and if done correctly, can give you much more bang for your buck.
Internet Marketing Made Simple (6)
And, you need to use proper Meta tags so that the search engines can interpret your web pages. If you do not know how to optimize your web site, you should search for an optimization consultant on Google.
Website Marketing Made Simple (7)
So, instead, they will pick a variation of that phrase, such as AUTO INSURANCE QUOTES FAST, for which there is no competition, and you will quickly rise to the top.
An Introduction To Internet Marketing (8)
There are thousands of different ezines related to almost any topic you can imagine, and they sell ad space for a fee; the larger their circulation, the higher the price tag.
Introduction To Pay Per Click Marketing (9)
You need to have a lot of cash to burn in order to compete with the bigger businesses who are spending hundreds of thousands of dollars per month on pay per click.
Do You Need An HTML Form? (10)
Many times, inexperienced programmers will put a form on their website that does not include code to at least try to prevent spammers from utilizing the form to send spam to hundreds or even thousands of people.
Improve Your Search Engine Ranking (11)
The last step, and probably the most important component of getting ranked higher on the search engines, is increasing your link popularity. The more websites that are linking to your site, the higher your ranking will be.
My Internet Marketing Secrets Revealed (12)
The more inbound links you acquire, the higher your search engine ranking will be. There are several ways you can garner links. You can submit your site to free directories, join a link exchange and trade links with other sites, and you can write articles and press releases and submit them to article directories and press release distribution services who will then distribute your articles and press releases to other websites who will publish them and in return link back to you.
Getting Ranked Higher On Search Engines (13)
At the bottom of each article you write, you are allowed to include a link to your website. As the articles you write are put into circulation and are published on other websites, your link popularity will increase.
Creating Your First HTML Form (14)
As a result, those who have been spammed complain to their internet service provider, who then directs the complaint to the hosting company that handles your website. This can be a huge problem.
HTML Might Become Obsolete (15)
To put it simply, SGML (Standard Generalized Markup Language) is the basis for HTML. XML is a more refined subset of SGML, and forms the basis for XHTML. On the whole, XHTML is more flexible than HTML.
Finding A Good Web Designer (16)
Always work with a professional if your project requires a certain level of expertise and skill, and make sure you request a portfolio containing samples of their work so you can see what they have already done.
Your First Online Form (17)
There are many different versions of Formmail floating around the internet, and some have built-in spam protection while others do not. Many times, inexperienced programmers will put a form on their website that does not include code to at least try to prevent spammers from utilizing the form to send spam to hundreds or even thousands of people.
Learn How To Use Formmail (18)
To create a Formmail file, you can either write the PHP code yourself (which is impossible unless you are experienced), or you can download the code from one of the many sites that have made the code available.
How To Make Your Traffic Explode (19)
You will have to consult with an experienced programmer who can set up the affiliate program so that the codes used to track sales for each affiliate will work properly.
Your First HTML Email Form (20)
Either way, it is important to have an HTML form so that people can contact you directly through your website. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers create a free web form with the code to email the web form responses.