Маленький совет.
Чтобы установить заголовок страницы в ASP.NET Web Используя Whidbey, добавьте свойства runat = ”server” к тегам заголовка и заголовка в своем HTML:
</head></code></p>
<p>Now, you can set the page easily using:</p>
<p><code><br />
this.Title = "My new page title";</code></p>
<p>Simple as!</p>
</section><div aria-label="Article sidebar" class="styledSidebar__StyledSidebar-dk1f5i-0 gUPsYy"><div class="styledSidebar__Authors-dk1f5i-1 flVAfR"><div class="styledSidebar__Author-dk1f5i-2 gUssep"><div class="styledSidebar__AuthorMeta-dk1f5i-3 bUmtIR"><img src="https://dab1nmslvvntp.cloudfront.net/wp-content/uploads/2017/10/1507698696SitePoint@2x-96x96.png" alt="Team SitePoint" loading="lazy" class="styledSidebar__AuthorAvatar-dk1f5i-4 bStwAa"/><div><h3 class="styledSidebar__AuthorName-dk1f5i-5 jDFjfW">SitePoint Team</h3></div></div></div></div><div type="books_new" class="styledPromoteBox__StyledPromoteBox-sc-1lx5aae-0 iYjbBU"><div id="ad_undefined" type="books_new" class="styledPromoteBox__AdContainer-sc-1lx5aae-1 criYH proper-ad-unit"></div><div><div class="styledBooksNew__StyledBooksNew-sc-1wtbcbh-0 bMoqNr"><h4> New books out now!</h4><div class="styledBook__StyledBook-sc-1f7vk4f-0 LcvTZ"><div><div class="styledBook__BookCoverContainer-sc-1f7vk4f-1 cjRZIh"><figure type="spine" class="styledBookCover__StyledBookCover-beflyc-0 hNYtzW"><div class="styledBookCover__Spine-beflyc-1 ePRdzX"><img src="https://d2sis3lil8ndrq.cloudfront.net/books/ee3c684b-45e4-468a-9b7a-b2c53313f324.png" loading="lazy" class="styledBookCover__Img-beflyc-2 hjHque"/></div></figure></div><div class="styledBook__PContainer-sc-1f7vk4f-2 hgthhm"><p font-weight="400" class="p__P-j9v9zk-0 gDhSTQ">?♀️ Fun Fact: Python was ranked #2 on a recent highest paid coders list. <a href="https://simpleprogrammer.com/7-reasons-why-you-should-learn-python/#python-salary">*</a></p></div></div><div class="styledBook__CTAContainer-sc-1f7vk4f-3 gBefjl"><a id="article_sidebar1-button" href="https://www.sitepoint.com/premium/books/the-python-apprentice" color="blue" type="outline" data-network="The Python Apprentice" data-unit="article_sidebar1" class="button__Button-tmcfcj-0 ivaYFQ">Can I learn Python?</a></div></div><hr/><div class="styledBook__StyledBook-sc-1f7vk4f-0 LcvTZ"><div><div class="styledBook__BookCoverContainer-sc-1f7vk4f-1 cjRZIh"><figure type="spine" class="styledBookCover__StyledBookCover-beflyc-0 hNYtzW"><div class="styledBookCover__Spine-beflyc-1 ePRdzX"><img src="https://d2sis3lil8ndrq.cloudfront.net/books/ca8e7cc0-370b-4af2-b973-97955befbeb7_medium.png" loading="lazy" class="styledBookCover__Img-beflyc-2 hjHque"/></div></figure></div><div class="styledBook__PContainer-sc-1f7vk4f-2 hgthhm"><p font-weight="400" class="p__P-j9v9zk-0 gDhSTQ">? Ok. When did a code editor from Microsoft become <em>kinda</em> cool!?</p></div></div><div class="styledBook__CTAContainer-sc-1f7vk4f-3 gBefjl"><a id="article_sidebar2-button" href="https://www.sitepoint.com/premium/books/visual-studio-code-end-to-end-editing-and-debugging-tools-for-web-developers" color="blue" type="outline" data-network="Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers" data-unit="article_sidebar2" class="button__Button-tmcfcj-0 ivaYFQ">Strange but true!</a></div></div></div></div></div><div class="styledPopularBooks__StyledPopularBooks-sc-98zu2f-0 dCTqAQ"><h3 class="styledPopularBooks__StyledPopularBooksTitle-sc-98zu2f-1 jijLNq">Popular Books</h3><a href="https://www.sitepoint.com/premium/books/visual-studio-code-end-to-end-editing-and-debugging-tools-for-web-developers" rel="noreferrer noopener" target="_blank" aria-label="Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers's page" id="article_popular1-link" data-network="Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers" data-unit="article_popular" class="styledPopularBooks__Book-sc-98zu2f-2 bVMLhN"><div class="styledPopularBooks__BookImgContainer-sc-98zu2f-3 dNTEUy cover-spine-overlay"><img src="https://d2sis3lil8ndrq.cloudfront.net/books/ca8e7cc0-370b-4af2-b973-97955befbeb7_medium.png" alt="visual-studio-code-end-to-end-editing-and-debugging-tools-for-web-developers" loading="lazy" class="styledPopularBooks__BookImg-sc-98zu2f-4 hFghmq"/></div><p class="styledPopularBooks__BookTitle-sc-98zu2f-5 fefnBN">Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers</p></a><a href="https://www.sitepoint.com/premium/books/form-design-patterns" rel="noreferrer noopener" target="_blank" aria-label="Form Design Patterns's page" id="article_popular2-link" data-network="Form Design Patterns" data-unit="article_popular" class="styledPopularBooks__Book-sc-98zu2f-2 bVMLhN"><div class="styledPopularBooks__BookImgContainer-sc-98zu2f-3 dNTEUy cover-spine-overlay"><img src="https://d2sis3lil8ndrq.cloudfront.net/books/788aa26e-18e5-409c-977e-d7a6f865e47e_medium.png" alt="form-design-patterns" loading="lazy" class="styledPopularBooks__BookImg-sc-98zu2f-4 hFghmq"/></div><p class="styledPopularBooks__BookTitle-sc-98zu2f-5 fefnBN">Form Design Patterns</p></a><a href="https://www.sitepoint.com/premium/books/the-art-of-working-remotely" rel="noreferrer noopener" target="_blank" aria-label="The Art of Working Remotely's page" id="article_popular3-link" data-network="The Art of Working Remotely" data-unit="article_popular" class="styledPopularBooks__Book-sc-98zu2f-2 bVMLhN"><div class="styledPopularBooks__BookImgContainer-sc-98zu2f-3 dNTEUy cover-spine-overlay"><img src="https://d2sis3lil8ndrq.cloudfront.net/books/7cc2d7bc-8faf-479a-8339-73290ec75860_medium.jpg" alt="the-art-of-working-remotely" loading="lazy" class="styledPopularBooks__BookImg-sc-98zu2f-4 hFghmq"/></div><p class="styledPopularBooks__BookTitle-sc-98zu2f-5 fefnBN">The Art of Working Remotely</p></a></div><div type="no_fallback" class="styledPromoteBox__StyledPromoteBox-sc-1lx5aae-0 eEREJF"><div id="ad_undefined" type="no_fallback" class="styledPromoteBox__AdContainer-sc-1lx5aae-1 foFwi proper-ad-unit"></div><div></div></div><div type="no_fallback" class="styledPromoteBox__StyledPromoteBox-sc-1lx5aae-0 eEREJF"><div id="ad_undefined" type="no_fallback" class="styledPromoteBox__AdContainer-sc-1lx5aae-1 foFwi proper-ad-unit"></div><div></div></div><div type="sticky" class="styledPromoteBox__StyledPromoteBox-sc-1lx5aae-0 iOqEOW"><div id="ad_undefined" type="sticky" class="styledPromoteBox__AdContainer-sc-1lx5aae-1 whNzY proper-ad-unit"></div><div></div></div></div></div></article><div class="styledLoader__StyledLoader-sc-1siylp2-1 dPwlS"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="spinner" class="svg-inline--fa fa-spinner fa-w-16 fa-pulse fa-2x " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg></div></div></main><footer class="styledFooter__StyledFooter-sc-1xzv3gd-0 bBlTLN"><nav aria-label="Footer navigation"><div class="styledFooter__Container-sc-1xzv3gd-2 gkisFa"><div class="footer-links"><ul><li><h2>Stuff we do</h2></li><li><a href="/premium">Premium</a></li><li><a href="/community">Forums</a></li><li><a href="https://sitepoint.typeform.com/to/fNY7XG">Corporate memberships</a></li><li><a href="https://sitepoint.tapfiliate.com">Become an affiliate</a></li><li><a href="/jobs">Remote Jobs</a></li></ul><ul><li><h2>About</h2></li><li><a href="/about-us">Our story</a></li></ul><ul><li><h2>Contact</h2></li><li><a href="/contact-us">Contact us</a></li><li><a href="https://sitepoint.zendesk.com/hc/en-us">FAQ</a></li><li><a href="https://sitepoint.typeform.com/to/HtAXVN">Publish your book with us</a></li><li><a href="https://sitepoint.typeform.com/to/DMmYfn">Write an article for us</a></li><li><a href="/advertise">Advertise</a></li></ul><ul><li><h2>Legals</h2></li><li><a href="/legals">Terms of use</a></li><li><a href="/privacy-policy">Privacy policy</a></li></ul></div><div class="styledFooter__Separator-sc-1xzv3gd-1 eXYzNg"></div><div class="footer-extra"><ul><li><h2>Connect</h2></li><li><a href="https://www.facebook.com/sitepoint" rel="noopener noreferrer" target="_blank" aria-label="See sitepoint facebook account"><svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-square" class="svg-inline--fa fa-facebook-square fa-w-14 fa-lg " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"></path></svg></a><a href="http://twitter.com/sitepointdotcom" rel="noopener noreferrer" target="_blank" aria-label="See sitepoint twitter account"><svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter-square" class="svg-inline--fa fa-twitter-square fa-w-14 fa-lg " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"></path></svg></a><a href="/feed" rel="noopener noreferrer" target="_blank" aria-label="See sitepoint RSS feed"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="rss-square" class="svg-inline--fa fa-rss-square fa-w-14 fa-lg " role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM112 416c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm157.533 0h-34.335c-6.011 0-11.051-4.636-11.442-10.634-5.214-80.05-69.243-143.92-149.123-149.123-5.997-.39-10.633-5.431-10.633-11.441v-34.335c0-6.535 5.468-11.777 11.994-11.425 110.546 5.974 198.997 94.536 204.964 204.964.352 6.526-4.89 11.994-11.425 11.994zm103.027 0h-34.334c-6.161 0-11.175-4.882-11.427-11.038-5.598-136.535-115.204-246.161-251.76-251.76C68.882 152.949 64 147.935 64 141.774V107.44c0-6.454 5.338-11.664 11.787-11.432 167.83 6.025 302.21 141.191 308.205 308.205.232 6.449-4.978 11.787-11.432 11.787z"></path></svg></a></li></ul><p>© 2000 – <!-- -->2020<!-- --> SitePoint Pty. Ltd.</p></div></div></nav></footer></div><div id="gatsby-announcer" style="position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0" aria-live="assertive" aria-atomic="true"></div></div><script type="text/javascript" defer="" src="https://www.google.com/recaptcha/api.js?render=6LfEw7cUAAAAABIV8YABIbOzqBJ3zr4BpjVbDXDK"></script><script id="gatsby-script-loader">/*<![CDATA[*/window.pagePath="/setting-page-titles-2005-style/";/*]]>*/</script><script id="gatsby-chunk-mapping">/*<![CDATA[*/window.___chunkMapping={"app":["/app-9502e564c29fd98b5967.js"],"component---src-pages-404-js":["/component---src-pages-404-js-b7cab190eed483e56be4.js"],"component---src-pages-about-us-js":["/component---src-pages-about-us-js-2fe386ff092780f2c328.js"],"component---src-pages-advertise-js":["/component---src-pages-advertise-js-154f7cb5253d7d7e9a0a.js"],"component---src-pages-contact-us-js":["/component---src-pages-contact-us-js-edcb20cb7a0eb174845a.js"],"component---src-pages-index-js":["/component---src-pages-index-js-3aa9b4084e73941b3f53.js"],"component---src-pages-legals-js":["/component---src-pages-legals-js-f15058e17f5d6c871664.js"],"component---src-pages-privacy-policy-js":["/component---src-pages-privacy-policy-js-a73abde632bb8112d8f8.js"],"component---src-templates-author-index-js":["/component---src-templates-author-index-js-6a4a01d1cd81ca65944d.js"],"component---src-templates-post-list-index-js":["/component---src-templates-post-list-index-js-b7acbf9e843a7eae489e.js"],"component---src-templates-post-post-js":["/component---src-templates-post-post-js-e884fb8877e6af28a59e.js"]};/*]]>*/</script><script src="/webpack-runtime-c179f0542eca56bcb305.js" async=""></script><script src="/ec1189df-0fa34f9c7c4814c5cf93.js" async=""></script><script src="/a9a7754c-af332f070836f35a283d.js" async=""></script><script src="/2f65259b2cfe4675599fed9cf756f67879aa3179-47a0568081a5c0141076.js" async=""></script><script src="/app-9502e564c29fd98b5967.js" async=""></script><script src="/component---src-templates-post-post-js-e884fb8877e6af28a59e.js" async=""></script><script src="/framework-e70cdacaba893b4d7727.js" async=""></script><script src="/f5827caf6186e5c689d2efec58e563be7dc9b201-6a2d767151e3b23a39d4.js" async=""></script></body></html>