Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 919543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:33:46+00:00 2026-05-15T18:33:46+00:00

In my aspx I have this line: <link href=<%= Request.ApplicationPath %>/css/ma/screen-ma.css rel=Stylesheettype=text/css media=screen />

  • 0

In my aspx I have this line:

<link href="<%= Request.ApplicationPath %>/css/ma/screen-ma.css"        rel="Stylesheet"type="text/css" media="screen" />

which renders as:

<link href="/XFormPortal/css/ma/screen-ma.css"        rel="Stylesheet"type="text/css" media="screen" /> 

That seems correct, right?

Then i change a single character, lets say add a space between the rel and the type attribute, so now I have the following:

<link href="<%= Request.ApplicationPath %>/css/ma/screen-ma.css"        rel="Stylesheet" type="text/css" media="screen" />

Which now rendes as:

<link href="&lt;%= Request.ApplicationPath %>/css/ma/screen-ma.css" rel="Stylesheet" type="text/css" media="screen" /> 

Okay, what just happend here? The inline code tag is suddenly ignored and written out as text? Because of a single space?

Can anyone explain this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:33:47+00:00Added an answer on May 15, 2026 at 6:33 pm
    <link href=<%="\""+Request.ApplicationPath%>/css" rel="Stylesheet" type="text/css" media="screen"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this in my ASPX page: <input id=MY_LAST_FOCUS name=MY_LAST_FOCUS type=text runat=server /> In
I have this line in a button click method on my aspx.cs file ClientScript.RegisterStartupScript(this.GetType(),
I have this line in my view.aspx I am not using razor: <p style=color:Red>
I have this UL list: <ul class=third-level-nav> <li><a href=/accommodations/Home.aspx>Home</a></li> <li><a href=/accommodations/Household-Ordering-Tutorial.aspx> Household Ordering Tutorial
I have this inside a usercontrol in my aspx: <asp:TextBox TextMode=MultiLine onkeydown=textCounterLatest('<%=txtContent.ClientID%>' , '<%=remLen.ClientID
I have this: <textarea name=content></textarea> and in javascript code in the same aspx file
Inside my .aspx I have some JSON code that looks like this: function someFunctionName()
Im very new in C++ I have found this post http://msdn.microsoft.com/en-us/magazine/cc163486.aspx and trying to
I have two aspx pages: DashboardPreview.aspx: This is the homepage. It shows top 5
I have a page with this method in CreateTicket.aspx.cs: [WebMethod()] public static string Categories()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.