Formatting HTML
- From: "clintonG" <csgallagher@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 19:53:09 -0500
Consider this code:
HtmlMeta meta = new HtmlMeta();
meta.Attributes.Add("description", "whatever, whatever, whatever");
HtmlHead head = (HtmlHead)Page.Header;
head.Controls.Add(meta );
That code writes a meta tag into the head element but it appends the meta
tag declaration to the end of other text located between the head elements.
How do we format the output of the meta tag text so it will begin on a new
line?
// what occurs
<link ... /><meta ... />
// what is desired
<link ... />
<meta... />
<meta... />
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
.
- Prev by Date: Re: Programming a Script language
- Next by Date: How to create a generic readonly collection?
- Previous by thread: MS Access LDB file (lock) and INSERT Failure
- Next by thread: How to create a generic readonly collection?
- Index(es):
Relevant Pages
|