LiamGu
LiamGu

Reputation: 5348

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

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?

Upvotes: 3

Views: 364

Answers (6)

Zhaph - Ben Duguid
Zhaph - Ben Duguid

Reputation: 26976

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

ASP.NET "special" tags

Upvotes: 4

Brad Bruce
Brad Bruce

Reputation: 7827

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)

Upvotes: 3

Tate Johnson
Tate Johnson

Reputation: 3950

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

Upvotes: 1

Jey Geethan
Jey Geethan

Reputation: 2285

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

Upvotes: 1

Alberto Zaccagni
Alberto Zaccagni

Reputation: 31590

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

Upvotes: 4

Colin
Colin

Reputation: 10638

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

Upvotes: 0

Related Questions