XHTML 1.0 Strict compliancy

Want to chit chat about anything, do it here ... posting here won't increase your post count (or shouldn't!). Please do not post any "phpBB" specific topics here unless they do not fit into the category above. Do not post bug reports, feature or support requests!
Forum rules
Please do not post any "phpBB" specific topics here unless they do not fit into the category above.

Do not post bug reports, feature or support requests! No really... Do not post bug reports, feature or support requests! Doing so will make Bertie a very sad bear indeed. :(
DPK
Registered User
Posts: 28
Joined: Thu Dec 20, 2001 5:02 am
Contact:

Re: XHTML 1.0 Strict compliancy

Post by DPK »

sparkster wrote:On that general topic, with XHTML2 MIME types become increasingly important as the imag tag and a few other are replaced with the object tag. Eg -

Code: Select all

<img src="/path/to/img.png" alt="Cool image" />
<!-- becomes this -->
<object type="image/png" src="/path/to/img.png" alt="Cool image" />
IMO this is cool that stuff is being simplified, but the file size of code to transfer is increasing in this example. Great...

Roberdin
Registered User
Posts: 1546
Joined: Wed Apr 09, 2003 8:44 pm
Location: London, United Kingdom

Re: XHTML 1.0 Strict compliancy

Post by Roberdin »

I think it's become more complex actually.

The <img> tag is pretty simple, but having <object> tags will confuse newbies no end, having to specify the type of image, etc
Rob

DoD
Registered User
Posts: 360
Joined: Sat Aug 30, 2003 11:32 am

Re: XHTML 1.0 Strict compliancy

Post by DoD »

I dont understand why the best way of doing something has to be replaced?

Btw, what is XHTML really used for??

Roberdin
Registered User
Posts: 1546
Joined: Wed Apr 09, 2003 8:44 pm
Location: London, United Kingdom

Re: XHTML 1.0 Strict compliancy

Post by Roberdin »

They're using it here. It's really just a way to ensure everything looks the same on all different browsers.
Rob

User avatar
SHS`
Registered User
Posts: 1628
Joined: Wed Jul 04, 2001 9:13 am
Location: The Boonies, Hong Kong
Contact:

Re: XHTML 1.0 Strict compliancy

Post by SHS` »

DoD wrote:I dont understand why the best way of doing something has to be replaced?

Btw, what is XHTML really used for??
<img> was depreciated in HTML4 Strict, and XHTML1.0 being a reformulation of HTML4 using XML syntax, <img /> was also depreciated.

<object> works just fine in every current browser except IE, and superceeds not only <img /> but also <iframe> where type becomes "text/html", "text/xml", "application/xml" or "application/xhtml+xml".

It is rather amusing for an HTML browser to choke with an error of not being able to load an object of the type "text/html"... a dust bunny to the person who correctly guesses which browser it is... :P
Jonathan “SHS`” Stanley • 史德信
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition!Asking Questions The Smart Way

User avatar
psoTFX
Registered User
Posts: 1984
Joined: Tue Jul 03, 2001 8:50 pm
Contact:

Re: XHTML 1.0 Strict compliancy

Post by psoTFX »

The worlds most popular? ;)

User avatar
SHS`
Registered User
Posts: 1628
Joined: Wed Jul 04, 2001 9:13 am
Location: The Boonies, Hong Kong
Contact:

Re: XHTML 1.0 Strict compliancy

Post by SHS` »

psoTFX wrote:The worlds most popular? ;)
Typically only out of ignorance. ;)

/me emails psoTFX a dust bunny
Jonathan “SHS`” Stanley • 史德信
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition!Asking Questions The Smart Way

Roberdin
Registered User
Posts: 1546
Joined: Wed Apr 09, 2003 8:44 pm
Location: London, United Kingdom

Re: XHTML 1.0 Strict compliancy

Post by Roberdin »

Well you've convinced me to use it :P
Rob

Trek
Registered User
Posts: 376
Joined: Mon Jan 14, 2002 6:58 pm
Location: UK
Contact:

Re: XHTML 1.0 Strict compliancy

Post by Trek »

Use what? XHTML?
(Plus, I didn't know <img /> was depracated I still be using img.)
Miguel
http://community.34sp.com" target="_blank
http://www.miguel.me.uk" target="_blank | http://www.sfcommand.co.uk" target="_blank | http://www.ssdg.org.uk" target="_blank
Hardware: The parts of a computer system that can be kicked

Roberdin
Registered User
Posts: 1546
Joined: Wed Apr 09, 2003 8:44 pm
Location: London, United Kingdom

Re: XHTML 1.0 Strict compliancy

Post by Roberdin »

The object tag instead of the img tag. :)
Rob

Post Reply