How to change the text in the browser tab in MVC

Home > Search > How-to

  1. In Solution Explorer, expand Views > Shared and select _Layout.cshtml
  2. To change the text that appears in the Browser tab, modify the text inside of the <title> tags
<title> - @ViewBag.Title </title>


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.