![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
It's considered best practise to read htmldog.com. Is that in the FAQ? |
|
(I think it is generally considered good pratice to use a nntp client for posting on Usenet, preferably one that does not mangle quoted code snippets, however inadequate they may be, but that is an entirely different problem) |
#2
| |||
| |||
|
|
Sub titulo Re: Why this html doesn't work? scripsit Eric B. Bednarz: It's considered best practise to read htmldog.com. |
|
Otherwise, the page from which the quotation was taken tells what the XHTML doctype declarations are and babbles about them. This is counter-productive. It also says: "Without specifying a doctype, your HTML just isn't valid HTML and most browsers viewing them will switch to 'quirks mode', which means they will think that you don't know what the hell you're doing and make up their own mind on what to do with your code." The text makes a point and then quickly loses it, describing "quirks mode" in wrong terms and without citing any information on what "quirks mode" actually means. It does not even warn that adding a doctype declaration to an existing page may completely ruin the page (for example, all content turns invisible), unless the page is fixed to use proper HTML and proper CSS, which is rather nontrivial task. I'm not saying that the author is "a short-sighted, one-eyed infant gibbon with learning difficulties", as he describes a hypothetical web author, but that's mainly due to my respect for people with learning difficulties and for our simian relatives. I had a positive impression of htmldog.com, from other people's comments and from a quick look at the surface. This surely opened my eyes. |
#3
| ||||||
| ||||||
|
|
scripsit Eric B. Bednarz: It's considered best practise to read htmldog.com. Is that in the FAQ? Why do you ask? Because you are uncertain about the existence of a FAQ for this group? |
.|
Right. But I think it's not good practice to hide the most important content of a message into a sig. |
Frankly, I find|
? if(stristr(\$_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")){ header("Content-Type: application/xhtml+xml; charset=UTF-8"); http://htmldog.com/guides/htmladvanced/declarations/ |
|
Other than peace of mind that you know you're doing the right thing and preparing yourself for the way to do things in the future, the immediate benefit of using this method is that Mozilla will treat your files as XML applications […] |
|
(Strangely enough, though, I'm usually accused for being clueless in matters that I actually know pretty well. Strange world, isn't it?) |

|
|| hexadecimal EBB o-o decimal 3771 |
#4
| |||
| |||
|
|
I am clueless about most things in world, and I don't mind if people point that out. (Strangely enough, though, I'm usually accused for being clueless in matters that I actually know pretty well. |
#5
| |||
| |||
|
|
might I suggest that it's your communication skills that are falling short, not your understanding. |
#6
| |||
| |||
|
|
On 29 May, 11:27, "Jukka K. Korpela" <jkorp... (AT) cs (DOT) tut.fi> wrote: I am clueless about most things in world... ... I suggest that it's your communication skills that are falling short, not your understanding. |
#7
| |||
| |||
|
|
Scripsit Andy Dingley: might I suggest that it's your communication skills that are falling short, not your understanding. You might, but then you would express something about _your_ manners and skills in communication. Like I would if I started babbling my guesses about your personality. |
#8
| |||
| |||
|
|
Besides the excellent advice to exclusively declare language on the web with the xml:lang MacGuffin, did you notice the PHP BS at the end of that page, by the way? |
![]() |
| Thread Tools | |
| Display Modes | |
| |