We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

asp.net meta format

Jesper Christensen
on
Medium Priority
291 Views
Last Modified: 2012-05-11
Hi.

In my .aspx page, my syntax is like this:
<%@ Page Title="title" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="_default" %>
<asp:Content ContentPlaceHolderID="head" Runat="Server">
<meta name="description" content="content" />
<meta name="keywords" content="content" />
</asp:Content>

When I look at source of the page, the content is formatted like this:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="description" content="content" />
      <meta name="keywords" content="content" />
<title>
      title
</title></head>

How does i make the formatting like this:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>title</title>
<meta name="description" content="content" />
<meta name="keywords" content="content" />
</head>
Comment
Watch Question

Microsoft Dynamics CRM Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Umar Topia.Net Full Stack Developer
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Jesper ChristensenProgrammer

Author

Commented:
Didnt help
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.