Talk:Create an HTML table: Difference between revisions

m
m (→‎just use a pure language?: indented replies.)
 
(One intermediate revision by the same user not shown)
Line 1:
== just use a pure language? ==
Shouldn't the language be just Javascript? OK, there is [[CSV to HTML translation]] but this could be a smaller HTML producing task. --[[User:Paddy3118|Paddy3118]] 07:40, 9 March 2011 (UTC)
 
: I assumed this was a task to display a table, not specifically in HTML. I think that was more interesting than specifically writing HTML, and we already have *ML-generation tasks. I request that you undo your move and change to the description, since the HTML notion seems to have come solely from my example. —[[User:Kevin Reid|Kevin Reid]] 21:48, 10 March 2011 (UTC)
 
::Ouch. I see what you mean. I've asked the [[User_talk:Mwn3d#Create_an_HTML_table|original author]] to clarify. --[[User:Paddy3118|Paddy3118]] 22:13, 10 March 2011 (UTC)
:::I'm not the original author. It was originally made by [[Special:Contributions/142.204.88.102|an anonymous user]]. The only text back then was "how to add a column and row in nested loop". The original intent didn't seem to have anything to do with HTML. We don't seem to have any other HTML generation tasks (or at least they're not in [[:Category:HTML]]), so it might be good to have both. If we do have both, though, I think we can do some more nifty stuff with the HTML version. This simple table would be interesting enough for a plain text task. --[[User:Mwn3d|Mwn3d]] 22:19, 10 March 2011 (UTC)
 
:::: If the task is to [http://rosettacode.org/mw/index.php?title=Create_an_HTML_table&oldid=103045 "display a table"], then my [[Ruby]] code is wrong, because it only outputs the HTML for a table, and never displays the table. Perhaps we should delete the Ruby example, and the other examples that never display a table? --[[User:Kernigh|Kernigh]] 02:18, 11 March 2011 (UTC)
:::::The task ''was'' to display a table. It ''is'' to create the HTML for a table. The Ruby code is right now. --[[User:Mwn3d|Mwn3d]] 02:58, 11 March 2011 (UTC)
 
== Alignment? ==