Wrox Programmer Forums
|
BOOK: Beginning Web Programming with HTML, XHTML, and CSS This forum is for discussing Jon Duckett's book Beginning Web Programming with HTML, XHTML, and CSS.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Web Programming with HTML, XHTML, and CSS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2009, 08:15 PM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default forms

Page 146 presents the following section of code


Code:
<form action = http://www.example.com/search.aspx>  method = "get" name = "frmSearch>"
Search:
<input type = "text" name = "txtsearch" value = "search for" size="20"  maxlength = "64" />
<input type = "submit" value = "submit" />
</form>
When i try to validate this code i am told that the form element cannot have inline children. i am told that if i put the input element into a p element then it will be acceptable.

I am just a beginner and suspect i am doing something wrong here.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening forms from other forms Paulsh Access VBA 1 September 30th, 2004 06:54 PM
Forms Diamond Dreamweaver (all versions) 3 July 1st, 2003 12:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.