What's the actual name of <% %> tags?

六月ゝ 毕业季﹏ 提交于 2019-12-12 15:10:36

问题


Possibly a redundant and useless question, but my colleagues and I refer to <% %> as server tags, but is there an actual name for them?

one i've seen used is calling them Alcohol tags.

Edited based on answers

We're referring to them in ASP.NET, but I would've thought they'd use the same name across all languages if they did the same job?


回答1:


"Server-Side Scripting Delimiters", as laid out in this question/answer here:

ASP.NET "special" tags




回答2:


In JSP they are called scriptlets, don't know if you were talking about Java though.




回答3:


In ASP, they're "Embedded Code Blocks".

I like to try and not use "tags" except when referring to to HTML or XML tags (the ones that have a start and end)




回答4:


As far as I know, they were called "Server Tags" in classical ASP




回答5:


I've heard them referred to as bee stings. In Ruby/ERB, they're known as "Embedded Ruby".




回答6:


That's what I use for them, but I've also heard people use the term inline tags.



来源:https://stackoverflow.com/questions/1221715/whats-the-actual-name-of-tags

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!