Reply to Re: xhtml and input tag outside form

Your name:

Reply:


Posted by Jukka K. Korpela on 01/23/08 15:50

Scripsit Zone:

> "Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote in message
> news:1jFlj.285172$8v3.64083@reader1.news.saunalahti.fi...
....
>> --
>> Jukka K. Korpela ("Yucca")
>> http://www.cs.tut.fi/~jkorpela/

A comprehensive quote, down to a sig, is the usual sign of lack of
comprehensive reading. Please keep using that style as long as you
remain clueless. Using XHTML in web authoring isn't a _sure_ sign of
cluelessness, you know, though often a useful hint.

> Can anyone explain where are the code in
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
> that tells input tag can be outside of form tag but it must be e.g.
> inside div tag.

Is that a serious question? It looks like one, but other symptoms
suggest the opposite,

Anyway, here are some crucial declarations from it:

<!ENTITY % block
"p | %heading; | div | %lists; | %blocktext; | fieldset | table">

<!ENTITY % Block "(%block; | form | %misc;)*">

<!ELEMENT body %Block;>

Now, how can you have an <input> element inside the body? Hint: check
the definition of %misc to see that there's nothing there that allows
<input>. Then work out the declarations for the block-level elements
like <p> and <div> to see that <input> is allowed there

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация