I have a UL list in a ASPX page:
This result is the same as GenericTypeTea's, but the difference is the HTML is 'written' in the code behind and injected into the page.
In your markup:
In your code behind:
List locations // however this initialized
StringBuilder sb = new StringBuilder();
sb.Append("");
for (int i = 0; i < locations.Count; i++)
{
sb.Append("- Tab " + i.ToString() + "
");
}
sb.Append("
");
litMarkup.Text = sb.ToString();