HighDots Forums  

<img width="100px" ...> valid (X)HTML?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss <img width="100px" ...> valid (X)HTML? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Christian Hackl
 
Posts: n/a

Default Re: <img width="100px" ...> valid (X)HTML? - 12-18-2007 , 05:50 PM






Jukka K. Korpela scrisse:

Quote:
Scripsit Christian Hackl:

(which allows you, among other
things, to formally define that "width" and "height" must be integer
values).

Well, such a requirement _can_ be expressed in a DTD, assuming it means
restricting them to unsigned integers and you use an SGML-based DTD. [...]
On the other hand, even in HTML 4.01 DTDs, the WIDTH and HEIGHT attributes
are essentially unrestricted, since SGML DTDs cannot express the requirement
"must be an unsigned integer or an unsigned integer followed by the '%'
sign".
Oh, so the only reason the DTD does not restrict width/height to integer
values is that pesky possibility of specifiying percentages?
Interesting! It's always amazing for me to see how little I really know
about all that stuff.

Still, though, I wonder why the W3C would not just declare those
informative schemas authoritative and incorporate them into the official
validation service, but then again, what do I know about the wondrous
ways of the W3C?


--
Christian Hackl


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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.