Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17472

Re: Arguments on a button

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.php
Subject Re: Arguments on a button
Date 2017-06-07 22:35 +0200
Organization PointedEars Software (PES)
Message-ID <10854412.O9o76ZdvQC@PointedEars.de> (permalink)
References <be64366d-5484-4569-a97c-dab6238b13c0@googlegroups.com> <ogrrin$4qu$1@dont-email.me> <ogrs08$6o1$1@dont-email.me> <3988954.LvFx2qVVIh@PointedEars.de> <oh77me$6k3$1@solani.org>

Show all headers | View raw


Christoph M. Becker wrote:

> On 06.06.2017 at 20:53, Thomas 'PointedEars' Lahn wrote:
>> Lew Pitcher wrote:
>>> Or, more generally (including some HTML formatting)
>>>   <form method="post" action="page2.php">
>>>   <dl>
>>>   <dt>Fruit:</dt>
>>>     <dd><input type="text" name="fruit"/></dd>
>>>   <dt>Veggie:</dt>
>>>     <dd><input type="text" name="veggies"/></dd>
>>>   <dt>Submit:</dt>
>>>     <dd><input type="submit"/></dd>
>>>   </dl>
>>>   </form>
>> 
>> This abuse of *definition lists* (dl) is common in certain CMSs, but not
>> something that should be repeated.
> 
> I wouldn't use a definition list, either.  However, the HTML 5.1
> specification states[1]:
> 
> | Term-description groups may be names and definitions, questions and
> | answers, categories and topics, or any other groups of
> | term-description pairs.
> 
> This suggest a rather loose interpretation, and as such the example
> above may not be considered abuse.

You are mistaken.  A label and a corresponding form control is _not_ a 
“term–description pair” at all.  And by “questions and answers”, “label and 
corresponding form control” is most definitely _not_ meant; rather, that 
which you can find in a FAQ.
 
-- 
PointedEars
Zend Certified PHP Engineer <http://www.zend.com/en/yellow-pages/ZEND024953>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Arguments on a button bit-naughty@hotmail.com - 2017-06-02 06:25 -0700
  Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-02 10:12 -0400
    Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-02 10:19 -0400
      Re: Arguments on a button Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-06-06 20:53 +0200
        Re: Arguments on a button "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-06-06 23:44 +0200
          Re: Arguments on a button Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-06-07 22:35 +0200
    Re: Arguments on a button Mark Lloyd <not@mail.invalid> - 2017-06-02 11:35 -0500
      Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-02 12:51 -0400
    Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-03 10:39 -0400
    Re: Arguments on a button "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-06-05 19:41 +0200
      Re: Arguments on a button Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-05 14:02 -0400

csiph-web