in-line-asp.net

How to mix code with html on same line in ASP.Net

I'm trying to do something like this: <h1><% =FirstName %></h1> However, intellisense doesn't show anything when I'm inside the percent brackets, and if I just run it, the resulting web page has not picked up anything inside the percent brackets. I've also tried using other code in the percent brackets, but nothing seems to get picke...