{"id":11633,"date":"2023-12-17T16:24:12","date_gmt":"2023-12-17T10:54:12","guid":{"rendered":"https:\/\/selfimagination.in\/tips\/?p=11633"},"modified":"2023-12-17T16:24:14","modified_gmt":"2023-12-17T10:54:14","slug":"how-to-set-title-in-html","status":"publish","type":"post","link":"https:\/\/selfimagination.in\/tips\/how-to-set-title-in-html\/","title":{"rendered":"How to Set Title in HTML : Google Apps Script"},"content":{"rendered":"\n<p>\u0928\u092e\u0938\u094d\u0915\u093e\u0930 \u0926\u094b\u0938\u094d\u0924\u094b! \u0906\u091c \u0939\u092e \u0907\u0938 \u092a\u094b\u0938\u094d\u091f \u092e\u0947\u0902 \u092c\u093e\u0924 \u0915\u0930\u0947\u0902\u0917\u0947 \u0915\u093f How to Set Title of HTML Page using Apps Script, \u092f\u093e\u0928\u093f   Apps Script \u092e\u0947\u0902 Web API \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u091f\u093e\u0907\u091f\u0932 \u0915\u0948\u0938\u0947 \u0938\u0947\u091f \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964 HTML page \u0915\u093e Title Set \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u092c\u0939\u0941\u0924 \u092e\u0939\u0924\u094d\u0935\u092a\u0942\u0930\u094d\u0923 \u0939\u0948, \u0915\u094d\u092f\u094b\u0902\u0915\u093f \u092f\u0939 \u0906\u092a\u0915\u0947 \u090f\u092a\u094d\u0932\u093f\u0915\u0947\u0936\u0928 \u0915\u093e \u092f\u0926\u093f Title \u0938\u0947\u091f \u0928\u0939\u0940\u0902 \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0924\u092c user \u092a\u0924\u093e \u0928\u0939\u0940\u0902 \u0932\u0917\u093e \u092a\u093e\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0907\u0938 Page \u0915\u093e \u0915\u094d\u092f\u093e \u0909\u092a\u092f\u094b\u0917 \u0939\u0948\u0902 \u0913\u0930 \u091c\u092c \u0939\u092e\u0947 \u090f\u0915 Page \u0938\u0947 \u0926\u0942\u0938\u0930\u0947 Page \u092a\u0930 \u091c\u093e\u0928\u093e \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0924\u092c \u0939\u092e Browser \u092a\u0930 Pages \u0926\u0947\u0916 \u0915\u0930 \u0938\u092e\u091d \u091c\u093e\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0939\u092e\u0947 \u0915\u093f\u0938 \u092a\u0947\u091c \u092a\u0930 \u091c\u093e\u0928\u093e \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#problem-title-not-display-when-we-use-title-tag\">Problem : Title not Display when we use TITLE Tag <\/a><\/li><li><a href=\"#solution-how-to-set-title-of-html-page-using-apps-script\">Solution : How to Set Title of HTML Page using Apps Script <\/a><\/li><li><a href=\"#\u0939\u092e\u093e\u0930\u0947-\u0905\u0928\u094d\u092f-\u0906\u0930\u094d\u091f\u093f\u0915\u0932\">\u0939\u092e\u093e\u0930\u0947 \u0905\u0928\u094d\u092f \u0906\u0930\u094d\u091f\u093f\u0915\u0932<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"problem-title-not-display-when-we-use-title-tag\">Problem : Title not Display when we use TITLE Tag <\/h2>\n\n\n\n<p>\u091c\u0940 \u0939\u093e \u092c\u093f\u0932\u094d\u0915\u0941\u0932 \u091c\u092c \u0906\u092a Apps Script HTML pages \u092e\u0947 Title tag \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0924\u092c Title set \u0928\u0939\u0940\u0902 \u0939\u094b\u0924\u093e \u0939\u0948\u0902 , \u091c\u0948\u0938\u093e \u0915\u0940 \u0928\u093f\u092e\u094d\u0928 Images \u092e\u0947 \u0906\u092a\u0915\u094b \u0926\u093f\u0916\u093e\u0908 \u0926\u0947 \u0930\u0939\u093e \u0939\u094b\u0917\u093e\u0964 <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"141\" src=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?resize=640%2C141&#038;ssl=1\" alt=\"Title not display when we use <title&gt; tag\" class=\"wp-image-11636\" srcset=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?resize=1024%2C226&amp;ssl=1 1024w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?resize=300%2C66&amp;ssl=1 300w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?resize=768%2C170&amp;ssl=1 768w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?resize=1536%2C339&amp;ssl=1 1536w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?resize=2048%2C452&amp;ssl=1 2048w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?resize=150%2C33&amp;ssl=1 150w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-5.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>\u0906\u092a \u0909\u092a\u0930\u094b\u0915\u094d\u0924 \u0907\u092e\u0947\u091c \u092e\u0947 \u0926\u0947\u0916 \u0930\u0939\u0947 \u0939\u094b\u0902\u0917\u0947 \u0915\u0940 Title Tag \u0926\u0947\u0928\u0947 \u0915\u0947 \u092c\u093e\u0935\u091c\u0942\u0926 \u092d\u0940 Title Display \u0928\u0939\u0940\u0902 \u0939\u094b \u0930\u0939\u093e \u0939\u0948\u0902 \u0964 \u0906\u0907\u092f\u0947 \u0905\u092c \u092e\u0947 \u0906\u092a\u0915\u094b \u0907\u0938\u0915\u093e Solution \u092c\u0924\u093e\u0924\u093e \u0939\u0941\u0964 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"solution-how-to-set-title-of-html-page-using-apps-script\">Solution : How to Set Title of HTML Page using Apps Script <\/h2>\n\n\n\n<p>\u0906\u092a\u0915\u094b \u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 Code.gs page \u0915\u094b open \u0915\u0930\u0928\u093e \u0939\u0948\u0902 \u0914\u0930 \u0935\u0939 \u092a\u0930 \u0906\u092a\u0915\u094b \u091c\u0939\u093e \u0938\u0947 \u0939\u092e evaluate \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0935\u0939\u093e\u0901 \u092a\u0930 \u0906\u092a\u0915\u094b setTitle(&#8220;&#8221;) \u0915\u093e method \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0928\u093e \u0939\u094b\u0917\u093e\u0964  <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">function doGet(e)\n{\n   var output = HtmlService.createTemplateFromFile(\"index\");\n   return output.evaluate().setTitle(\"Welcome\");\n}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"183\" src=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?resize=640%2C183&#038;ssl=1\" alt=\"How to Set Title\" class=\"wp-image-11638\" srcset=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?resize=1024%2C292&amp;ssl=1 1024w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?resize=300%2C86&amp;ssl=1 300w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?resize=768%2C219&amp;ssl=1 768w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?resize=1536%2C439&amp;ssl=1 1536w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?resize=150%2C43&amp;ssl=1 150w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?w=1772&amp;ssl=1 1772w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-6.png?w=1280&amp;ssl=1 1280w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>\u0907\u0924\u0928\u093e \u0915\u0930\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 \u0906\u092a project \u0915\u094b Deploy \u0915\u0930\u0947 \u0914\u0930 \u0909\u0938\u0915\u0947 \u092c\u093e\u0926 \u091c\u094b Link \u0906\u090f \u0909\u0938\u0947 project \u0915\u094b Execute \u0915\u0930\u0947 \u0924\u092c \u0906\u092a\u0915\u094b Title \u0926\u093f\u0916\u093e\u0908 \u0926\u0947\u0928\u0947 \u0932\u0917\u0947\u0917\u093e\u0964 \u091c\u094b \u0915\u0940 \u0906\u092a \u0928\u093f\u092e\u094d\u0928 Image \u092e\u0947 \u0926\u0947\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964 <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"212\" src=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-7.png?resize=640%2C212&#038;ssl=1\" alt=\"How to Set Title\" class=\"wp-image-11642\" style=\"width:532px;height:auto\" srcset=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-7.png?resize=1024%2C339&amp;ssl=1 1024w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-7.png?resize=300%2C99&amp;ssl=1 300w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-7.png?resize=768%2C254&amp;ssl=1 768w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-7.png?resize=150%2C50&amp;ssl=1 150w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/image-7.png?w=1298&amp;ssl=1 1298w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n<\/div>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\ud83d\udcf0How to Set Title on HTML Page of Google Apps Script Web API\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/qiQeDxcNg6E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u0906\u0936\u093e \u0939\u0948\u0902 \u092e\u0941\u091d\u0947 \u0915\u0940 \u0906\u092a\u0915\u094b \u0915\u093f\u0938 \u0924\u0930\u0939 \u0938\u0947 Apps Script \u092e\u0947 HTML \u092a\u0947\u091c \u0915\u0940 Title \u0915\u094b set \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902, \u092c\u0939\u0941\u0924 \u0939\u0940 \u0905\u091a\u094d\u091b\u0947 \u0938\u0947 \u0938\u092e\u091d \u092e\u0947 \u0906 \u0917\u092f\u093e \u0939\u094b\u0917\u093e \u0964  \u092b\u093f\u0930 \u092d\u0940 \u0907\u0938 Article \u0938\u0947 related \u0915\u094b\u0908 \u092d\u0940 Query \u0939\u094b \u0924\u094b \u0906\u092a \u092e\u0941\u091d\u0947 \u0928\u093f\u0903\u0938\u0902\u0915\u094b\u091a Comment \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0939\u092e\u093e\u0930\u0947-\u0905\u0928\u094d\u092f-\u0906\u0930\u094d\u091f\u093f\u0915\u0932\"><strong>\u0939\u092e\u093e\u0930\u0947 \u0905\u0928\u094d\u092f \u0906\u0930\u094d\u091f\u093f\u0915\u0932<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-function\/\">MySQL Function<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-stored-procedure\/\">MySQL Stored Procedure<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/get-post-method\/\">PHP Get \/Post Method \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/php-math-function\/\">PHP Math Function \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/learn-cpp-from-c\/\">C \u0938\u0947 C ++ \u0938\u0940\u0916\u0947 \u0938\u0930\u0932 \u0936\u092c\u094d\u0926\u094b\u0902 \u092e\u0947\u0902<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/php-variables\/\">PHP Variable \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/arduino-control-structure\/\">Arduino Control Structure<\/a>&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/c-union\/\">Union in C<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/c-pointer\/\">Declaration of Pointer in C<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/search-jquery\/\">jQuery Search Filter<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-table-create-alter-drop\/\">MySQL Create Table | Alter Table | Drop Table<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/api-using-node-react-express-mysql\/\">API Using NODE REACT EXPRESS MYSQL SEQUELIZE (For Backend OR Server Side)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/selfimagination.in\/tips\/cpanel\/\">CPANEL In Hindi<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0928\u092e\u0938\u094d\u0915\u093e\u0930 \u0926\u094b\u0938\u094d\u0924\u094b! \u0906\u091c \u0939\u092e \u0907\u0938 \u092a\u094b\u0938\u094d\u091f \u092e\u0947\u0902 \u092c\u093e\u0924 \u0915\u0930\u0947\u0902\u0917\u0947 \u0915\u093f How to Set Title of HTML Page using Apps Script, \u092f\u093e\u0928\u093f Apps Script \u092e\u0947\u0902 Web API \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u091f\u093e\u0907\u091f\u0932 \u0915\u0948\u0938\u0947 \u0938\u0947\u091f \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964 HTML page \u0915\u093e Title Set \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u092c\u0939\u0941\u0924 \u092e\u0939\u0924\u094d\u0935\u092a\u0942\u0930\u094d\u0923 \u0939\u0948, \u0915\u094d\u092f\u094b\u0902\u0915\u093f \u092f\u0939 \u0906\u092a\u0915\u0947 \u090f\u092a\u094d\u0932\u093f\u0915\u0947\u0936\u0928 \u0915\u093e \u092f\u0926\u093f Title [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28],"tags":[],"class_list":["post-11633","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-apps-script"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2023\/12\/apps-script-html-title.jpg?fit=1280%2C720&ssl=1","_links":{"self":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/11633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/comments?post=11633"}],"version-history":[{"count":15,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/11633\/revisions"}],"predecessor-version":[{"id":11652,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/11633\/revisions\/11652"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media\/11653"}],"wp:attachment":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media?parent=11633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/categories?post=11633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/tags?post=11633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}