473,467 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Tidy message prob

hi,
i like to solve a code-prob:

tidy is bitching about
<...> proprietary attribute "type"
<...> lacks "action" attribute

how can i make this nice?

this is my code
<form name="land" type="text/javascript">
<select name="land:" onChange="P7_JumpMenu(this,0)" >
<option value="" selected>Please choose:</option>
Sep 22 '05 #1
2 1810
Wilhelm Kutting <wk******@arcor.de> wrote:
i like to solve a code-prob:

tidy
First use a validator like http://validator.w3.org/ to check your code.

After it validates you can then see what Tidy reports and if there is
any value in that (there may not be).
is bitching about
<...> proprietary attribute "type"
<...> lacks "action" attribute

how can i make this nice?

this is my code
<form name="land" type="text/javascript">
Forms are for gathering user input and they require server side
processing.
<select name="land:" onChange="P7_JumpMenu(this,0)" >
<option value="" selected>Please choose:</option>


Looks like you are abusing a form and javascript to create some sort of
navigation, stop doing that. Use links.

--
Spartanicus
Sep 22 '05 #2
Wilhelm Kutting wrote:
i like to solve a code-prob:
Code problem. Not a Tidy problem.
tidy is bitching about [on <form>]
<...> proprietary attribute "type"
<...> lacks "action" attribute
In HTML, <form> doesn't have a type attribute and requires an action
attribute.

how can i make this nice?


Write valid HTML. Go to the W3C site and learn to read the DTD.

Sep 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike Gifford | last post by:
Hello Folks, I'm trying to get tidy set up on a pretty standard fedora core 1 server. Looks pretty simple from here: http://ca3.php.net/manual/en/ref.tidy.php Should just have to go: pear -v...
4
by: Anthony | last post by:
I love the HTML Cleaner-upper Tidy... http://tidy.sourceforge.net and I use it ALL the time after running my .asp's... however (As you can imagine).. this is a longer process then I want... : ...
12
by: Stefan Weiss | last post by:
Hi. (this is somewhat similar to yesterday's thread about empty links) I noticed that Tidy issues warnings whenever it encounters empty tags, and strips those tags if cleanup was requested....
0
by: Christoph Schneegans | last post by:
Hi! I'd like to present an easy, yet powerful approach to use the HTML Tidy program from <http://tidy.sourceforge.net/> in ASP.NET. It is similiar to...
40
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...
0
by: BG Mahesh | last post by:
hi I have installed Tidy on Fedore Core 4.0 using RPM. I have a very simple script that uses tidy, ------------tidy.php------------------ <html>a html document</html> <? $html =...
1
by: Martin Odhelius | last post by:
Hello, Does anybody here have any example code for Tidy.Net (http://sourceforge.net/projects/tidynet/) ? I can't find one single example. I try to convert a html-string to well formed xhtml,...
7
by: Academia | last post by:
I have a 2004 version of HTML Tidy for windows. I tried to find out if there is a new version of it and went to Source Forge but couldn't figure out that site. Do you know if there is a newer...
0
by: kempshall | last post by:
Can somebody please tell me how to install the Tidy module for PHP 5 on a Mac? I tried what the php.net website said, which is running the command "pecl install tidy" but the installation failed...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
1
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...
0
tracyyun
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.