473,729 Members | 2,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon

On Jul 19, 9:00*pm, Guy Macon <http://www.GuyMacon.co m/wrote:
In comp.infosystem s.www.authoring.html, Denis McMahon wrote:
So, the choice is the mature and widely supported html 4.01,
a stepping stone (xhtml 1.0), or the not fully supported xhtml 1.1.
I'm inclined to go for html 4.01 strict, can anyone convince me
that >this is the wrong decision at the moment?

Of the three choices you have presented, I would say that
html 4.01 strict is the best choice
HTML 4.01 strict is the best and most recommendable choice for now.

2 main differences between HTML 4.01 strict and HTML 5 is that
- HTML 5 will push the separation between structure and presentation
furthermore. So those who do that already in their HTML 4.01 strict
webpages will have less work to do later in the years to come when
upgrading to HTML 5. Another compelling reason to separate further
presentation (style) from structure (content) is that Internet
Explorer 8 will finally fix a lot of the CSS 2.1 bugs.
- HTML 5 will add new elements which are more semantic elements. <nl>
(navigation lists), <section, <footerfor page footer, <header>,
etc.. which will add more meaning to the structuring elements of
current webpages. Those who already do such page divisions with <div>s
will not feel lost in any way when HTML 5 finally become official.

HTML 5 will in many ways become a more logical, more coherent
extension, continuation of HTML 4 than XHTML 1.x.

Regards, Gérard
--
156 bugs in Internet Explorer 7
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
130 bugs in Internet Explorer 8 beta 1
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/

Jul 20 '08 #1
11 2694
GTalbot wrote:
2 main differences between HTML 4.01 strict and HTML 5 is that - HTML 5
will push the separation between structure and presentation furthermore.
The only major change with regards to dropping presentational HTML are a
few of the table-specific presentation attributes (e.g. 'align',
'valign'). Most of the other presentational HTML from 4.01 Strict (e.g.
<b>, <i>, <sup>, <sub>, @style) is still present in HTML 5.

The bigger change is the move of a lot of semantics from classes to the
element tag names. e.g. <div class="section" becoming <section>

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.24.4-1mnbcustom-g5n1, up 28 days, 18:20.]
[Now Playing: Everclear - Brown Eyed Girl [Van Morrison]]

Extending hCard with RDFa
http://tobyinkster.co.uk/blog/2008/07/16/hcard-rdfa/
Jul 20 '08 #2
In article <pa************ *********@tobyi nkster.co.uk>, Toby A Inkster <us**********@t obyinkster.co.u kwrites:
>GTalbot wrote:
>2 main differences between HTML 4.01 strict and HTML 5 is that - HTML 5
will push the separation between structure and presentation furthermore.
Most of the other presentational HTML from 4.01 Strict (e.g.
<b>, <i>, <sup>, <sub>, @style) is still present in HTML 5.
I'm afraid that I don't see superscripts and subscripts as merely
presentational (although I do certainly admit a presentational aspect).

I've written a lot of pages on various mathematical topics, and can tell
you that there's a big difference between "a-sub-2" and "a-squared". An
even bigger difference between "a-sub-2-cubed" and "a-sub-3-squared".

The fact that these differences are shown, and have been shown for several
centuries, by differing placment of numerals does not change the fact that
they very definitely represent differing content.

--
Michael F. Stemper
#include <Standard_Discl aimer>
Visualize whirled peas!
Jul 22 '08 #3
Michael Stemper schreef:
In article <pa************ *********@tobyi nkster.co.uk>, Toby A Inkster <us**********@t obyinkster.co.u kwrites:
>GTalbot wrote:
>>2 main differences between HTML 4.01 strict and HTML 5 is that - HTML 5
will push the separation between structure and presentation furthermore.
> Most of the other presentational HTML from 4.01 Strict (e.g.
<b>, <i>, <sup>, <sub>, @style) is still present in HTML 5.

I'm afraid that I don't see superscripts and subscripts as merely
presentational (although I do certainly admit a presentational aspect).

I've written a lot of pages on various mathematical topics, and can tell
you that there's a big difference between "a-sub-2" and "a-squared". An
even bigger difference between "a-sub-2-cubed" and "a-sub-3-squared".

The fact that these differences are shown, and have been shown for several
centuries, by differing placment of numerals does not change the fact that
they very definitely represent differing content.
But isn’t mathml supposed to replace all that?

H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
=============== ===
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Jul 23 '08 #4
My code generator generates xhtml 1.0. I've been asked a couple times
why - I choose xhtml 1.0 because all the XML parsers, libraries and
tools available should work perfectly with it (and have so far). As
generated code, the fact that I have all those tools at my disposal is
important. As I understand from some quick reads at W3C, html 5 will
extend xhtml 1.0, but not necessarily xhtml 1.1. So until that's a
completed, stable and approved standard, I'm using xhtml 1.0.
--
Shaun
Jul 24 '08 #5
On 24 Jul, 15:31, smcintyre <smci1...@gmail .comwrote:
My code generator generates xhtml 1.0.
While it's valuable to use the XML tools to generate the XML-Infoset
for your web pages, it's still an advantage to be able to generate
HTML 4.01 Strict rather than XHTML.

So why not use these same tools to generate HTML instead? If you
generate the page's XML data model in exactly the same way, you can
then use these tools to serialise it into HTML instead. The code isn't
much more complex and you gain a more useful output format for web
publishing.
Jul 24 '08 #6
smcintyre wrote:
My code generator generates xhtml 1.0. I've been asked a couple times
why - I choose xhtml 1.0 because all the XML parsers, libraries and
tools available should work perfectly with it (and have so far). As
generated code, the fact that I have all those tools at my disposal is
important. As I understand from some quick reads at W3C, html 5 will
extend xhtml 1.0, but not necessarily xhtml 1.1. So until that's a
completed, stable and approved standard, I'm using xhtml 1.0.
--
Shaun
But while the libraries and tools work perfectly, some browsers (like
IE) don't.

XML was meant for a way to communicate M2M, not for browsers.
Unfortunately, some idiot, in their grandiose scheme, though it would be
great to merge XML and HTML.

Fortunately, browser developers didn't necessarily agree.

HTML 4.01 strict is much better.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 25 '08 #7
Scripsit Michael Stemper:
I'm afraid that I don't see superscripts and subscripts as merely
presentational (although I do certainly admit a presentational
aspect).
You're in good company. The W3C consortium and the Unicode consortium
agree with you here, and so do I. Check
http://www.w3.org/TR/unicode-xml/ (Unicode in XML and other Markup
Languages) if in doubt.
I've written a lot of pages on various mathematical topics, and can
tell you that there's a big difference between "a-sub-2" and
"a-squared".
Not to mention my favorite simple case: 10<sup>3</supis not the same
as 103 or merely a typographic variant thereof.

However, _some_ use of superscripts and subscripts is basically
stylistic, as e.g. in 1<sup>st</sup(= first) in English. People who
wrote HTML specs never understood this difference - or maybe they
pretended to have not noticed it.

Superscripting or subscripting should be regarded as semantically
significant except in cases where the opposite can be proved or seen
immediately. It would, in particular, be a gross error to replace <sup>
and <submarkup by semantically meaningless markup, <span>, and the use
of style sheets, even though this may superficially give the impression
of working, when CSS is "on".

(Quite apart from this, the rendering of superscripts and subscripts
often needs CSS help, i.e. the default rendering of <supand <sub>
should often be tuned using CSS properties like vertical-align,
font-size, and line-height.)

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jul 25 '08 #8
Jukka K. Korpela wrote:
Not to mention my favorite simple case: 10<sup>3</supis not the same
as 103 or merely a typographic variant thereof.
10<sup>3</supis an ersatz for 10³.

I'm not arguing that superscript and subscript cannot be used to indicate
a particular change in meaning - just that the existing <suband <sup>
elements are not "semantic" in the same sense that <qor <emare.

Were the heading tags <h1to <h6not to exist, it could be claimed that
a use of <bto mark up headings proves that <bis a non-presentational
element. But <h1to <h6do exist, any uses of <bto mark up headings
(except perhaps is we need a seventh-level heading in a very rare
situation) is considered non-semantic and presentational.

If HTML elements like <exponentand <atom-countexisted, I imagine that
you would not be defending the presence of <supand <subin the
language.

<b>, <i>, <tt>, <sub>, <supand their ilk can be used to mark up text
which is semantically different from the surrounding text, but this usage
is only tolerated because of the lack of true semantic elements that
would fulfil the purpose. They are presentational elements being used
semantically because there is no other element to do the job.

<i class="ship">Sh ip's Name</iis no better semantically than <span
class="ship">Sh ip's Name</span-- it just has a nicer fallback rendering
in non-CSS browsers.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.24.4-1mnbcustom-g5n1, up 43 days, 19:08.]

Olympics Monkey
http://tobyinkster.co.uk/blog/2008/0...lympic-monkey/
Aug 4 '08 #9
On 4 Aug, 12:32, Toby A Inkster <usenet200...@t obyinkster.co.u k>
wrote:
Jukka K. Korpela wrote:
Not to mention my favorite simple case: 10<sup>3</supis not the same
as 103 or merely a typographic variant thereof.

10<sup>3</supis an ersatz for 10³.

I'm not arguing that superscript and subscript cannot be used to indicate
a particular change in meaning - just that the existing <suband <sup>
elements are not "semantic" in the same sense that <qor <emare.
As a further supporting example, what does 123<sup>000,000 </sup>
mean? It's archaic typography, but it certainly doesn't mean the same
as 123 ^ 0. Semantics are only useful if they're reliably
communicable, and this meaning for <supisn't.
Aug 4 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
4723
by: Nobody | last post by:
Okay, you are all so smart in here. Answer me this: IE6 in standards mode doesn't seem to hide scrollbars on the body element (overflow:hide) Ain't this a quandary. I have it in my head that I need to specify html instead. The scrollbars do hide on Gecko browsers though, so there is definitely a disagreement among browser developers on how to implement scrollbars (as a side note, Gecko browsers with their notoriously bug-ridden...
59
4770
by: Philipp Lenssen | last post by:
I've tested some of the new Nokia 6600 functionality. It ships with WAP2 and XHTML Support (it says). What it does is check the Doctype -- if it's not the XHTML Mobile Profile Doctype, but a XHTML1.0 Strict one, the media-handheld CSS is _ignored_. Only with the Nokia Doctype, the CSS is used. I find this really annoying as it goes against the whole idea of media-independent XHTML Strict along with stylesheets. On the good side, WML...
32
4530
by: jp29 | last post by:
My take on problems composing, serving and rendering XHTML documents/web pages: 1. Typical conscientious web authors are producing XHTML documents (Web pages) that feature valid Markup and with the content (MIME) type specified as text/html (http://keystonewebsites.com/articles/mime_type.php). These pages are then loaded on to their Server where they are served to Rendering Agents (browsers) as HTML (SGML application) documents with no...
16
7114
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe"); MyDiv.appendChild(iframeObject); var data = "<html><head><title>testing</title></head><body>data</body></html>" iframeObject.contentDocument.open(); iframeObject.contentDocument.writeln(data);
82
5694
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a year later then the first version of XHTML 1.0, the second edition is actually newer. Furthermore, XHTML 1.1 is not really the follow-up of XHTML 1.0" I thought that XHTML 1.1 was the follow-up to XHTML 1.0 and that XHTML 2.0 will someday be the...
3
1423
by: Frank Thomas | last post by:
So, where are we (as an industry) with regards to XHTML? I've been going through a book published in 2002 that promotes the idea that we should all be looking to create new projects as compliant with XHTML (at least using the transitional DTD). Is the XHTML standard something developers at large are taking seriously? Has Microsoft taken it seriously and included XHTML compliance features into VS.NET 2003 (will they for the next version)?...
12
2413
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
11
4209
by: Tomek Toczyski | last post by:
What is the best way to attach a caption to an image in xhtml? I can attach a caption to a table by a "<caption>" tag but I would like to do sth similar to an image. How to do it in a natural way? -tt.
11
3109
by: Michael Powe | last post by:
How can I make an XHTML-compliant form of an expression in this format: document.write("<scr"+"ipt type='text/javascript' src='path/to/file.js'>"+"</scr"+"ipt>"); this turns out to be a non-trivial exercise. inserting '&lt;' and '&gt;' causes the browser to write the text to the page as literal text rather than as the intended script element. Using escape codes seemed to work (makes it standard compliant) but the text is not written to...
10
2075
by: Robert Huff | last post by:
Can someone offer suggestions why, on the same server (Apache 2.2.8), this works <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html lang="en-US"> <head> <link rel=stylesheet type="text/css" href="proj_default.css" title="ss_default"> <title>Testing html</title> </head>
0
8936
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9226
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9166
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8170
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6028
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4538
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2705
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2173
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.