Is there a list of the changes you need to make to HTML 4.1 cose to
make it dual compliant, with XHTML 1.1 also? 13 2915
Ben Sharvy wrote: Is there a list of the changes you need to make to HTML 4.1 cose to make it dual compliant, with XHTML 1.1 also?
Not possible.
Headless
--
Email and usenet filter list: http://www.headless.dna.ie/usenet.htm
Headless <me@privacy.net > wrote: Is there a list of the changes you need to make to HTML 4.1 cose to make it dual compliant, with XHTML 1.1 also?
Not possible.
Apparently not, since there is no HTML 4.1. :-)
Assuming the OP really meant 4.01, despite writing twice 4.1,
the answer is indeed the same, though for a different reason.
But is there some _other_ reason than the different requirements on the
<!DOCTYPE> declaration that prevent "dual compliance" to the two
specifications? This is of course pretty theoretic, and I wonder why the
question was asked. (Browsers play by their own rules, and virtually all
browsers claimed to comply with HTML 4.01 actually fail compliance in
several ways, and compliance to XHTML 1.1 is hardly even a good joke.)
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
"Jukka K. Korpela" <jk******@cs.tu t.fi> wrote in message news:<Xn******* *************** ******@193.229. 0.31>... But is there some _other_ reason than the different requirements on the <!DOCTYPE> declaration that prevent "dual compliance" to the two specifications?
The <!DOCTYPE> declaration is neither HTML nor XHTML, so it is
irrelevant to the question.
Put another way, is there a markup that allows the *option* of
(validly) declaring it to be either HTML or XHTML. bs*****@mac.com (Ben Sharvy) wrote: But is there some _other_ reason than the different requirements on the <!DOCTYPE> declaration that prevent "dual compliance" to the two specifications?
The <!DOCTYPE> declaration is neither HTML nor XHTML, so it is irrelevant to the question.
Both HTML and XHTML specifications make a <!DOCTYPE> declaration a
mandatory part of an HTML or XHTML document. In fact this follows from the
metalanguage (SGML and XML) rules. Ref.:
"For the sake of brevity, most of the examples in this specification do
not begin with the document type declaration that is mandatory at the
beginning of each HTML document." http://www.w3.org/TR/html4/conform.html#h-4.2
"A Strictly Conforming XHTML Document - - must meet all of the following
criteria: - -
4. There must be a DOCTYPE declaration in the document prior to the root
element." http://www.w3.org/TR/xhtml1/#normative
(And the only conformance it defines is being "Strictly Conforming"!)
The <!DOCTYPE> declaration is clearly defined as being _part_ of a
document. Note the wording "at the beginning", not "before" in the first
quotation, and "in the document" in the latter.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Jukka K. Korpela wrote: rather a lot snipped
I think he's got the point now. I think what he's asking is whether
it's possible/convenient to author a document that, with a one-line
change to the DOCTYPE, can be either XHTML 1.0 or HTML 4.01.
My own take is fairly simple: yes, it's possible, and it's not even
that hard as long as you stick to semantic/logical markup rather than
trying to use TABLE for visual layout.
Owen
Owen Jacobson <oj************ **@mx-deus.net> wrote: I think he's got the point now. I think what he's asking is whether it's possible/convenient to author a document that, with a one-line change to the DOCTYPE, can be either XHTML 1.0 or HTML 4.01.
My own take is fairly simple: yes, it's possible, and it's not even that hard as long as you stick to semantic/logical markup rather than trying to use TABLE for visual layout.
You must also avoid empty elements (e.g., LINK, IMG) that cannot be
represented in a way that is valid for both HTML and XHTML.
--
Darin McGrew, da***@TheRallye Club.org, http://www.TheRallyeClub.org/
A gimmick car rallye is not a race, but a fun puzzle testing your
ability to follow instructions. Upcoming gimmick car rallye in
Silicon Valley: Harry Potter & the Order of the Precedence (Sat, Sept 6)
Owen Jacobson wrote: Jukka K. Korpela wrote:
rather a lot snipped
I think he's got the point now. I think what he's asking is whether it's possible/convenient to author a document that, with a one-line change to the DOCTYPE, can be either XHTML 1.0 or HTML 4.01.
My own take is fairly simple: yes, it's possible, and it's not even that hard as long as you stick to semantic/logical markup rather than trying to use TABLE for visual layout.
No, tables for layout have nothing to do with it.
Matthias
"Owen Jacobson" <oj************ **@mx-deus.net> writes: Jukka K. Korpela wrote: rather a lot snipped I think he's got the point now. I think what he's asking is whether it's possible/convenient to author a document that, with a one-line change to the DOCTYPE, can be either XHTML 1.0 or HTML 4.01.
My own take is fairly simple: yes, it's possible,
Provided you use _no_ empty elements or are happy to rely on browsers
not following the relevant SGML rules on <element />.
and it's not even that hard as long as you stick to semantic/logical markup rather than trying to use TABLE for visual layout.
That would be a Strict / Transitional issue rather than an XHTML/HTML
issue, as far as I know. And yes, if the document is valid Strict it
can be served as valid Transitional [1], should you ever want to.
[1] With a doctype change, obviously.
--
Chris
Darin McGrew wrote: You must also avoid empty elements (e.g., LINK, IMG) that cannot be represented in a way that is valid for both HTML and XHTML.
Oof. I missed that completely. Yeah, that's a big issue. For my own
information, is the following valid in XHTML 1.0? In HTML 4.01?
<link rel="stylesheet " href="pagestyle " type="text/css"></link>
The DTDs aren't entirely clear to me on that point. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Werner Partner |
last post by:
I put this question already, but erhaps it "came under the wheels"
because it was hidden in another thread. Nevertheless it's important for
me to understand the problem and solve it.
Old html 4.01 Standard:
http://www.sonoptikon.de/kairos/kontakt.php
The crucial lines are:
-------------------
<table cellpadding=4 cellspacing=1...
|
by: mojo |
last post by:
Is there a nice way to have HTML display mathematical expressions
that contain radical symbols (square root, cube root, ..., nth root)
that look nice.
The best I can come up with is by having a table, a CSS border, the
radical sign:
<TABLE>
<TR>
<TD>&radic</TD><TD style="border-top: 1pt solid black;">103</TD>
</TR>
|
by: Armand Karlsen |
last post by:
I have a website ( http://www.zen62775.zen.co.uk ) that I made HTML 4.01
Transitional and CSS compliant, and I'm thinking of converting it into XHTML
to learn a little about it. Which XHTML variant would you recommend? The w3c
HTML validator mentions XHTML 1.0 Transitional, Basic, Strict, and XHTML
1.1. Would I be able to make my existing CSS...
|
by: mike |
last post by:
regards:
I follow the following steps to converting from HTML to XHTML
http://webpageworkshop.co.uk/main/xhtml_converting
My parser is http://htmlparser.sourceforge.net/
Xhtml version is 1.0 from http://nds.nokia.com/uaprof/N6600r100.xml
but nokia mobile browser cannot identify the converted file(XHTML1.0).
Is there something wrong...
|
by: Eric Lindsay |
last post by:
I have been trying to get a better understanding of simple HTML, but I
am finding conflicting information is very common. Not only that, even
in what seemed elementary and without any possibility of getting wrong
it seems I am on very shaky ground .
For example, pretty much every book and web course on html that I have
read tells me I must...
| |
by: danny.rendle |
last post by:
I am attempting to create a web site using ASP.NET v1.1 to comply with
the W3C's WAI Triple-A standard.
To this end I need ASP.NET to emit valid HTML 4.01 Transitional (once
confident with ASP.NET and HTML 4.01 I plan to move onto XHTML).
I have found several articles suggesting the use of Response Filters to
amend the HTML on route to...
|
by: VK |
last post by:
Hi,
After the response on my request from W3C I'm still unclear about Tidy
vs. Validator discrepansies. That started with <IFRAME> issue, but
there is more as I know. Anyway, this very basic HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html401/strict.dtd">
<html>
<head>
|
by: graham.reeds |
last post by:
I am building a reports system. Several events can happen in the space
of an hour so over a long weekend there can be quite a lot of events
(hundreds). Therefore sending everything as a single xml file will
take a long time. Also sending one report at a time would take a long
time for the roundtrip.
What I was going to do was batch up a...
|
by: Guy Macon |
last post by:
cwdjrxyz wrote:
HTML 5 has solved the above probem. See the following web page:
HTML 5, one vocabulary, two serializations
http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| |