Help - Search - Members - Calendar
Full Version: Naming convention in HTML
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
CodeMaster
Can anyone answer this?

Can an Element "Name=?" be done with an array, such as Name = "Apple(1)", etc.? sad.gif
Is so, please give example.....

Thank you......
pandy
In HTML? No. HTML isn't a programming language. There are no arrays, varaiables or anything like that.
CodeMaster
QUOTE(pandy @ Feb 24 2010, 05:38 PM) *

In HTML? No. HTML isn't a programming language. There are no arrays, varaiables or anything like that.


OKay, I figured that. So, if I want to iterate code for an unknown amount of times. How can that be done without duplication?
Darin McGrew
The reliable way to do it is to use some sort of server-side (e.g., CGI, PHP) program to generate the HTML.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.