Reference the style sheet in the Asp.Net page.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under ASP.NET category on | Points: 40 | Views : 158
We can use HTML link element to reference the style sheet in the Asp.Net web form.Include the below link element inside <head>… <head/> tag as:-
We have to give CSS name in href attributes.

<head runat = "server">
<title>Web Page</title>
<link href = "main.css" rel = "stylesheet" type = "text/css" media = "screen" />
</head>

Comments or Responses

Login to post response