spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / web / dev / html4nsie / types nav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav button
Developer News
Mandrake Linux Founder Back, Virtually
Amazon: We're a Technology Company
Sun Expands MySQL With Closed Source

HTML Data Types Spec
What you can and what you can't

Both browsers generally adhere to the rules regarding data types in the HTML 4.01 specification. The few exceptions are noted below:

URIs Spec

URIs that contain any characters that are not letters or digits should be escaped. While both browsers usually handle the encoding automatically, it is a good idea to go ahead and do it in the HTML code itself. The most notable example is the tilde character often used for the URLs of user homepages, mostly a Unix tradition. Thus the URL http://www.foo.com/~john/ is invalid; it should be written as http://www.foo.com/%7ejohn/.

Colors Spec

Netscape and Explorer recognize a few more color names than the sixteen stated in the specification, but their use is strongly discouraged. Since you can use the hexadecimal notation for any color, it's recommended that you use this even for the sixteen defined colors, since their names have come under attack for their ambiguity quite often. If you're writing HTML for the 4.01 version browsers, it's a good idea to put all color attributes in style sheets.

Multilength Spec

The Multilength data type is partially supported by both Netscape and Explorer. Implemented mainly in the colgroup and frameset elements, both browsers don't recognize the syntax n* for lengths, and only recognize a single asterisk, which is equivalent to 1* according to the specification.

The only link type supported by both Netscape and Explorer is Stylesheet.

Media descriptors Spec

Both Netscape and Explorer support linked stylesheets with media attributes in standard screen mode and in print for all media types. Media types all, screen and print are specifically supported. Both browsers also recognize @import rules and stylesheets referenced in this manner are correctly rendered according to any media attribute in the referring document's link element.

Frame Target Names Spec

The two browsers both interpret target attributes as window names and not frame names if a corresponding frame doesn't exist. This is exactly as stipulated in the specifications.

nav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav buttonnav button

http://www.internet.com

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Whitepapers and eBooks

Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Microsoft PDF: Top 10 Reasons to Move to Server Virtualization with Hyper-V
Microsoft PDF: Six Reasons Why Microsoft's Hyper-V Will Overtake Vmware
Microsoft Step-by-Step Guide: Hyper-V and Failover Clustering
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Microsoft PDF: Top 11 Reasons to Upgrade to Windows Server 2008
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
  PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
HP eBook: Guide to Storage Networking
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Crucial Triples Up With New Three-Channel DDR3 Kits · Meet the Finalists: Excellence in Technology Awards · Tealeaf Offers Insight to Mobile Customer Behavior


All Rights Reserved. Legal Notices.
Created: Mar. 12, 1998
Revised: November 15, 2004