Main Menu
Articles Home
Most Popular Articles
Top Authors
Submit Articles
Submission Guidelines
Link to Us
Bookmark
Contact Us

Articles Categories
  ·  Audio-Video Streaming
  ·  Blogging
  ·  Broadband
  ·  Domain Names
  ·  E-Business
  ·  New to the Internet
  ·  Spam
  ·  Technologies
  ·  Tools and Resources
  ·  Web Design
  ·  Web Development
  ·  Web Hosting
  ·  Webmasters
 


Partners
 
Home / Internet / Web Design

Introduction to HTML DOM

By:Jim Pretin


Web sites used to be created exclusively with HTML. Formerly, a web site consisted of nothing more than some text and a few HTML tags to provide the structure and formatting for the web page, accompanied by some graphics to provide style.

Web design has changed mightily since its earliest days. Nowadays, the projects given to web designers by ecommerce companies require more advanced programming languages and specifications in order to produce the virtual masterpieces that we see when we surf the net. So, many new languages and specifications have been created to provide a more effective way to structure and design web pages. One such programming innovation is HTML DOM.

HTML DOM is the Document Object Model for HTML. This model is now compatible with most web browsers. It provides a standard set of objects that can be used in HTML 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 HTML Document ais regarded as a branch on a tree, and these elements can be accessed and modified through the DOM.

Also, this language is platform and language independent. The 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 HTML programming language. 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. Also, it is compatible with all programming languages, including Javascript and VBScript.

The document object is the parent object of all other objects within the document. The document object gives birth, if you will, to the body object and all of the attributes and elements of the document. Here is an example of Document Object Model code that would be used to define the background color of an HTML document:

Document.body.bgcolor

In this example, document is the parent object, body is the child, and bgcolor is an attribute of the body object. HTML document objects can also respond to functions created with languages such as Javascript.

There is a huge set of predefined objects used by this language. To view the entire list of available objects and their properties, I recommend that you study some simple online tutorials available on sites such as the W3C (World Wide Web Consortium). If you are already well versed in web design, learning HTML DOM is fairly easy because the syntax is not complicated. If you design web sites for a living, you need to familiarize yourself with this language. With so many different web browsers and platforms on the market, some of which are incompatible with HTML, not using DOM could mean that the web sites you create will appear scrambled or might even be invisible to the user.

Digg del.icio.us Blink Stumble Spurl Reddit Netscape Furl

Article keywords: HTML DOM, Document Object Model

Article Source: http://www.articles2k.com

Jim Pretin is the owner of http://www.forms4free.com, a service that helps programmers make email forms.




Top Web Design Articles
  • 1). Advanced Joomla Templating (pt1) Using Module Class Suffix  By : Robert Palmer
    an article from User Written Resources 1. duplicate the styles already used for the particular module, adding a suffix to each style name. this will definitely include some of the following; 1. .module {} 2. div.moduletable {} 3. div.moduletable h3 {} 4. table.moduletable {}/li> 5. table.moduletable th 6. table.moduletable td and can include other styles used on the content in that section, such as; 1.

  • 2). Irish Graphic Design Industry  By : dave4
    Graphic design is the use of color, light, balance, contrast, emphasis, proportion, proximity, repetition, texture and a plethora of other elements to create a work of digital art that is pleasing to the eye. Graphic design is about seamlessly molding image and text to convey a theme, message, or often advertise a product or service. Graphic design dates back to prehistoric times.

  • 3). Adsense: The Smart Investment  By : Pat Lovell & Jon Atwood
    Over the last 2 years, We have been building a Virtual Adsense Empire of over 500 websites and making some good money. We've also been building content sites for clients using the same system. The system we use is not something that produces 1000's of sites with a click of a button, our system does not build spam websites, nor does it produce the same sites you see over and over and over again.

  • 4). Some guidelines for Website Design  By : Angela Oliver
    You have a great product. You also have a great company image and marketing model. Now it is time to implement all your plans and bring together a website. You know very little about websites. Finding websites that have failed is easier than shooting fish in a barrel. Many people come into the internet business with the notion that if they are on the web, they are guaranteed to make money.

  • 6). Develop Your Business Web Site for Profits  By : Jay Peterson
    Looking into developing your business web site? Whether creating a business web site to sell your business products online or just to give the public valuable information, creating a business web site can be an important first step to creating an important presence on the web. Here are some tips on creating a business web site as well as what is involved in getting your business web site off the ground.

  • 7). Is your printing costs sky rocketing?  By : Florie Lyn Masarate
    Here are some things you can do to be able to lower your printing costs. 1. Cheap but good quality printer. There was a time when only a handful of people can afford having one of those colored and digital printers. Now that these things are more rampant, they have become more affordable. Color printers of good quality are even inexpensive already.

  • 8). Creating A Quality Web Site Design!  By : Martin Lemieux
    In this article, I will attempt to cover the basics of creating a great quality web design template for your site. Now it's a known fact that the layout or "eye candy" as I put it will determine whether your visitors will stay more than 15 seconds or they will just become another statistic. In this article, I will attempt to cover the basics of creating a great quality web design template for your site.

  • 9). How Does Your Website Make Me Feel?  By : Philippa Gamse
    When people think about the Internet, they think about technology. When people hear that I am a Website strategy expert, they see me as a "techy type". But for me, the most intriguing aspect of your online business isn't about the technology. It's about human connections, and how you can create these in a virtual environment. It's commonly understood that "people buy emotionally, not intellectually.

  • 10). For Automated Sites - PHP and MySQL Are A Perfect Match  By : Halstatt Pires
    You’ve decided to automate your web site. Now what? Here are some ideas to help you choose how to automate your site. A bit of programming is going to be necessary if you want to automate a site. There are many types of programs that can be used to automate a web site including JavaScript, PHP, Perl, ASP, Java and more. So, which do you use? For many, it is a personal choice.


New Web Design Articles
  • 7). Graphic Artists - Who Needs One When You Can Do It Yourself Online?  By : Pearl Deloria
    Image is everything! Think about it. How many times have you made a judgment about a company based on the quality of the junk mail that you have been sent? Other people make similar judgements, too. Businesses cannot afford to be thought of as cheapskate in their marketing. You know that most of your mail goes straight in the trash, and it may grieve you to spend four times the amount, just for it to be thrown away.

  • 8). How To Style Your Text With CSS  By : Hilco van der Meer
    Styling text with CSS is really simple. We can define colors, underline it, make it bold, define the font etc etc. We will start with some basics. First we define the html where we will be working with. This is the text 1. Colorize your text We can select the P tag and add some styles to it. p { color:red; } Now our text will turn red. You can define any color code your want or choose one of the 16 standard color names.

  • 9). What is a web designer anyway?  By : Alicia Harper
    As a web designer, I get all kinds of requests , for information other than web design, and as a web designer I'm not suppose to really to be able to do things outside of the web design area. I believe there are a few misconceptions about what exactly a web designer does. In this article I am going to nail down exactly what a web designer is and what they should be able to do.

  • 10). Advanced Joomla Templating (pt1) Using Module Class Suffix  By : Robert Palmer
    an article from User Written Resources 1. duplicate the styles already used for the particular module, adding a suffix to each style name. this will definitely include some of the following; 1. .module {} 2. div.moduletable {} 3. div.moduletable h3 {} 4. table.moduletable {}/li> 5. table.moduletable th 6. table.moduletable td and can include other styles used on the content in that section, such as; 1.



 


© 2006 articles2k.com - Privacy Policy