- 2

How to make a table for use all table tags?

table tags

3rd Aug 2018, 7:19 AM
TOSIF KHAN
TOSIF KHAN - avatar
3 odpowiedzi
+ 2
Not sure to good understand what your question, but if you expect an html table example wich use all the elements related to (allowed in) <table>, check this code: https://code.sololearn.com/WbAXM8pZW9l3/#css Run it, you will see an html table and you will able to show the related code embeded with syntax hilight by clicking on the navigation button inside the output, without all stuff around ^^ (edition is disabled, because I don't have implemented the possibility to dynamically change the output, but anyway you could select/copy/paste code)
3rd Aug 2018, 4:23 PM
visph
visph - avatar
+ 1
Yeah, not sure the question is clear. If I were to take a couple of stabs in the dark, I would first say that CSS is good for reusing formats (table included). Second guess would be if you want to reuse entire tables (meaning including the content), and copy-pasting isn't the best option (because it very often can be the case when optimizing for anything other than ease of maintenance), then you will want to look into a templating language (e.g. pug, elm, etc.). Tables can certainly be one of the more cumbersome elements to set up from scratch.
3rd Aug 2018, 9:08 AM
Janning⭐
Janning⭐ - avatar
0
Please state your problem.
3rd Aug 2018, 7:28 AM
Akib
Akib - avatar