midPhase Web Hosting - $7.95/month - 500 GB B/W!
 
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Web Directory

Go Back   Webmaster Forum > Designing and Developing Websites > Web Design

Web Design Discussions and help on Website Design, HTML, CSS, xHTML, DHTML, etc...

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-31-2007, 03:48 AM
Jamesbond Jamesbond is offline
WMG Newcomer
 
Join Date: Mar 2007
Posts: 20
iTrader: (0)
Jamesbond is on a distinguished road
Default DTD (Document Type Definition)

SGML is what is known as a "meta-language;" it allows a programmer to write a DTD (Document Type Definition) that numerous pages can follow. For instance, all of you use a word processor (I would assume). You type the letter "j." Something inside of that word processor must understand what you did and display that letter. That's the DTD. You then alter the letter's size, font, and color. Again, the commands the word processor used were all understood and acted upon by using the DTD as a guide.
HTML uses DTDs. Ever seen one of these at the very top of a page's source code:

<!doctype html public "-//w3c//DTD html 4.0//en">
That's a document declaration. It states that the DTD to be used is html 3.2 in English. See that above? So, where is the DTD actually located? In the browser. Yup, Netscape, Explorer, Opera, and Mosaic are more than programs to display pretty little pictures. They are actually carrying a DTD so that when you type in a command like <B>, or <UL>, or <CENTER> the browser knows how to handle it. The browser sees the command <B>. It goes to its DTD to check what that command is supposed to do. It sees that the command makes things bold. The effect is then generated.
The one drawback with a word processor, and HTML, is that you cannot set up your own DTDs. HTML is a very stable format of markup languages. The commands mean the same thing everywhere. The language is easy to learn because it is like playing blocks, to some extent. The tools you use never change. JavaScript is more difficult because you are actually creating the blocks before you play with them.

Actually, that's the purpose of XML; it allows you to create your own blocks to play with.
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block

  #2 (permalink)  
Old 03-31-2007, 08:15 AM
creek23 creek23 is offline
WMG Deputy Sheriff
 
Join Date: Mar 2007
Posts: 290
iTrader: (0)
creek23 is on a distinguished road
Default

Is this supposed to be a tutorial? If so, it should look better is you stripped some line. It looks the same as whan is written here.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT. The time now is 10:09 PM.



Freelance Web Designers
Work At Home Forum
Ad Marketplace
Online Deals and Bargains
HostGator Hosting Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0