24
Comments
  • 6
    No, because HTML isn't a logical programming language ☺️
  • 9
    @rasmus it isn't a programming language...
  • 1
    @Meki I know, but some people think it is.
  • 0
    @rasmus sad truth
  • 1
    <!-- ko:if world -->
    <span>hello</span>
    <!-- /ko:if -->

    <!-- knockout allows it in a pseudo fashion -->
  • 1
    php would to via echo only if the file type is php
  • 1
    @deygrey this rant was for the current weekly rant (week 10) ... And not in general ;)
  • 3
    Technically no. But Django templates have logical tags in them and they're HTML files :P just because they're parsed first doesn't mean... Okay fine. I'll shut up now.
  • 0
    There are some if statements in html for detecting browser versions. But really what are you doing using HTML? You could be using php!!
  • 1
    @FelisPhasma this was before php was an idea... And got me into programming.
  • 1
  • 4
    <!--[if ie]> 😂
  • 1
    @sylar I always hated that... And we still have to use it in 2016... Dirty shame...
Add Comment