+ 2

Ruby in html

Can i use <script></script> to use ruby? If so how?

31st May 2018, 8:59 PM
Elijah
Elijah - avatar
3 RĂ©ponses
+ 4
not if there is a... <ruby> tagâœŒïžâœŒïžđŸ—đŸ— haha using ruby and html isnt as direct as html,js.Youll need some specific platform or something. not... if there is a <ruby>😂tag
31st May 2018, 9:24 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
As they said, you can not do it. You can use ruby to generate HTML or on the server, you can even run JS from Ruby. Check these links if you want to have a clearer idea of what I said before: - https://rubyonrails.org/ - https://github.com/judofyr/heffigy - http://www.rubyinside.com/harmony-javascript-and-a-dom-environment-in-ruby-3001.html
1st Jun 2018, 12:07 AM
Mickel
Mickel - avatar
- 1
no, only javascript support is guaranteed by the html standart
31st May 2018, 9:09 PM
Max
Max - avatar