Conditional Formatting in HTML Tags

前端 未结 7 1246
挽巷
挽巷 2020-12-31 12:23

Is there any option for using IF-ELSE conditioning in HTML tags

   do something     
      do something            


        
相关标签:
7条回答
  • 2020-12-31 13:14

    Conditional rendering of HTML is not a new concept, but it cannot be done using HTML exclusively. You would need to use either client side scripting or server side code to provide the conditional logic that would render your HTML accordingly.

    0 讨论(0)
提交回复
热议问题