Code Standards
Code standards help ensure that everyone has access to the information you are providing, and make it easier for people with special needs to use the Web. For these reasons, MIT recommends that all Web developers adhere to coding standards. For more on Web standards go to the W3C or Web Standards Project web sites. Pages should be checked with the W3C Markup Validation Service at http://validator.w3.org/.
This page provides an overview on some of the different languages of the Web:
HTML, XHTML, XML, JavaScript, Cascading Style Sheets (CSS), and DHTML. At the bottom of the page we've listed some links to some helpful coding resources.
HTML
HTML (HyperText Markup Language) is a document-layout and hyperlink specification language. The mark-up tags tell the browser how to display the contents of a document including text, images and other supported media. The current version that defines the basic syntax and semantics of the HTML standard is Version 4.01. While the W3C has defined the standards of HTML, browser manufacturers have taken some leeway in how their browsers display pages and have added nonstandard extensions to the language.
XHTML
XHTML (Extensible HyperText Markup Language) is a reformulation of HTML to be compliant under XML (Extensible Markup Language). Using the more rigid rules of XML, XHTML follows every feature of HTML 4.01. It requires more discipline and attention to detail than an HTML document. XHTML demands careful attention to upper and lower case letters, quotation marks, closing tags, and other minutiae ignored by regular HTML. The majority of HTML is completely compatible with XHTML. One of the major differences is the nesting of elements; every tag that contains other tags or content must have a corresponding end tag present. Since empty elements [e.g. <br>, <img>] don't usually have an end tag present, they must include a space and a slash before the closing brace of the tag [e.g. <br />, <img />]. XHTML also requires that tags and attributes must be lowercase, and that all attributes be quoted and have an associated value. Dreamweaver MX can be changed to produce XHTML compliant web pages. When creating a new file from the new file dialog box (File > New) check the "Make Document XHTML Compliant" option in the lower right corner.
XML
XML (Extensible Markup Language) is based on the same patent technology as HTML, but is designed to better handle the task of managing information. Rather than serving as a language for creating web pages, XML is a language for creating other languages. XML tags identify data so the data can become available for other tasks.
JavaScript
JavaScript is a programming language that you can use to add interactivity to your web pages. If you're not a programmer, don't panic; there are many JavaScripts available on the web. JavaScript lets you create an active user interface, giving users feedback as they navigate your pages. Because some users turn off active scripting, we recommend that you use JavaScript as an enhancement to your page rather than a vital part of displaying or accessing your content. Also note that visitors coming to your site using adaptive technologies or text browsers cannot use JavaScript to move about the site.
Cascading Style Sheets
HTML was never intended to deliver high-concept graphic content and multimedia. HTML was created to allow authors to define the structure of a document for distribution on the web. Cascading Style Sheets, also known as CSS or style sheets, allow you to control the display of a Web document without compromising its structure (e.g. fonts, colors, leading, margins, typefaces, and other aspects of style). HTML tags can be redefined and custom style classes can be created to globally control the display of your web pages. Styles can be defined in an external CSS file, in an individual document, or even a specific tag. Unfortunately not all browsers offer the same level of support for CSS so you must check your work with all target browsers.
DHTML
Dynamic HTML is typically used to describe the combination of HTML, style sheets and JavaScripts. DHTML gives authors creative control so they can manipulate any page element and change styles, positioning, and content at any time.
Web/MIT Resources:
Tutorials:
http://www.w3schools.com
HTML:
http://www.webreference.com/authoring/languages/html/
http://wdvl.internet.com/Authoring/HTML/
http://hotwired.lycos.com/webmonkey/authoring/html_basics/
XHTML:
http://www.webreference.com/authoring/languages/xhtml/
http://wdvl.internet.com/Authoring/Languages/XML/XHTML/
XML:
http://www.webreference.com/authoring/languages/xml/
http://wdvl.internet.com/Authoring/Languages/XML/
http://www.developer.com/xml/article.php/2106671
JavaScript:
http://www.webreference.com/programming/javascript/
http://wdvl.internet.com/Authoring/JavaScript/
http://hotwired.lycos.com/webmonkey/programming/javascript/
http://javascript.internet.com/
Cascading Style Sheets:
http://webreference.com/authoring/style/sheets/
http://wdvl.internet.com/Authoring/Style/Sheets/
http://hotwired.lycos.com/webmonkey/authoring/stylesheets/
DHTML:
http://wdvl.internet.com/Authoring/DHTML/
http://www.developer.com/dhtml/
http://hotwired.lycos.com/webmonkey/authoring/dynamic_html/
|