C
clintonG
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/
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/