dan-
dan-

Reputation: 301

what does this aspx markup sequence mean

what does

<%-- one or more lines of html markup or javascript --%>

mean on an aspx page. visual studio 2010 highlights in a way as to suggest its a comment or that it has been conditionalized out.

Upvotes: 1

Views: 199

Answers (2)

T W
T W

Reputation: 6317

It's a comment, I would call it server side comment as it's contents won't be delivered to client (browser) as opposed to normal html comments <!-- comments --> , take a look at Is there a way to comment out markup in an .ASPX page? .

Upvotes: 3

JonAlb
JonAlb

Reputation: 1720

Its a comment, that text wont be parsed/proccessed by asp.net and wont be delivered to the browser

Upvotes: 0

Related Questions