IMO this is cool that stuff is being simplified, but the file size of code to transfer is increasing in this example. Great...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" />
XHTML 1.0 Strict compliancy
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. :(
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. :(
Re: XHTML 1.0 Strict compliancy
-
- Registered User
- Posts: 1546
- Joined: Wed Apr 09, 2003 8:44 pm
- Location: London, United Kingdom
Re: XHTML 1.0 Strict compliancy
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
The <img> tag is pretty simple, but having <object> tags will confuse newbies no end, having to specify the type of image, etc
Rob
Re: XHTML 1.0 Strict compliancy
I dont understand why the best way of doing something has to be replaced?
Btw, what is XHTML really used for??
Btw, what is XHTML really used for??
-
- Registered User
- Posts: 1546
- Joined: Wed Apr 09, 2003 8:44 pm
- Location: London, United Kingdom
Re: XHTML 1.0 Strict compliancy
They're using it here. It's really just a way to ensure everything looks the same on all different browsers.
Rob
- 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
<img> was depreciated in HTML4 Strict, and XHTML1.0 being a reformulation of HTML4 using XML syntax, <img /> was also depreciated.DoD wrote:I dont understand why the best way of doing something has to be replaced?
Btw, what is XHTML really used for??
<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...
Jonathan “SHS`” Stanley • 史德信
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition! • Asking Questions The Smart Way
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition! • Asking Questions The Smart Way
- 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
Typically only out of ignorance.psoTFX wrote:The worlds most popular?
/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
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition! • Asking Questions The Smart Way
Re: XHTML 1.0 Strict compliancy
Use what? XHTML?
(Plus, I didn't know <img /> was depracated I still be using img.)
(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
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