What are the reasons for not allowing HTML tables when checking user input fields?

I write a little wiki and look through all my syntax highlighting options. Discussion between wiki syntax (mediawiki) and markdown + whitelisted tags. I think I would prefer the latter, but I think my users will need tables. Why are tables not allowed here in stackoverflow?

<table> <tr> <td> </td> </tr> </table>
+5
source share
6 answers

They have no purpose in Q & A format. At least I cannot think of a reason why I would need to use a table to answer a question, or ask about myself.

Alternatively, you can still do this:

cell 1-1      cell 1-2
cell 2-1      cell 2-2

EDIT: , , , , . , CSV; , .

+4

, , , , , html , .

, html .. .

+2

:

  • Markdown,
  • ,
  • -

Markdown . . SO Markdown, .

, , Markdown, Markdown.

, HTML--Markdown. . , Markdown2PDF, Markdown2TeX Markdown2TheNextBigML- . Markdown HTML -, HTML, . , Markdown ( ), () HTML .

HTML , , (, <table width="10000" height="10000">).

, ( Markdown) : ( , paddings, , , ..). , SO- , ( HTML CSS ). : (, ).

+2

, . , , ( ).

BBCode.

  • HTML
  • HTML -

"" , , (, , ). , , (* word *). , . BBCode : [

, .

+1

, Wisiwyg javascript (WMD) ,
( , SO)

, , /, HTML .
, , colspan, rowspan, .

, , .

+1

, : , , ..

I don’t think that you need something complicated, like HTML tables (with rowspan and all), a simple CSV will be enough for 99% of cases, I think. It will also allow dynamic javascript rendering to do its job easily.

CSV is well known, lightweight, easy to use and understandable. The only thing needed on top of this would be the start and end tag for CSV data. For example, [csv] ... [/ csv] or || ... ||. Here's what it looks like:

[csv]
**XOR**,**true**,**false**
**true**, false, true
**false**, true, false
[/csv]

This will create a table like this:

XOR     true    false
true    false   true
false   true    false    

(with the first row and first column in bold)

+1
source

All Articles