تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eHtmlOutputMetaTag\u003c/code\u003e objects represent meta tags added to HTML pages using \u003ccode\u003eHtmlOutput.addMetaTag()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese objects allow you to access the name and content of the meta tag through \u003ccode\u003egetName()\u003c/code\u003e and \u003ccode\u003egetContent()\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve all added meta tags using \u003ccode\u003eHtmlOutput.getMetaTags()\u003c/code\u003e and iterate through them.\u003c/p\u003e\n"]]],[],null,["HtmlOutputMetaTag\n\nAn object that represents a meta tag added to the page by calling [HtmlOutput.addMetaTag(name, content)](/apps-script/reference/html/html-output#addMetaTag(String,String)).\n\n```javascript\nconst output = HtmlService.createHtmlOutput('\u003cb\u003eHello, world!\u003c/b\u003e');\noutput.addMetaTag('viewport', 'width=device-width, initial-scale=1');\n\nconst tags = output.getMetaTags();\nLogger.log(\n '\u003cmeta name=\"%s\" content=\"%s\"/\u003e',\n tags[0].getName(),\n tags[0].getContent(),\n);\n``` \n\nMethods\n\n| Method | Return type | Brief description |\n|-------------------------------|-------------|--------------------------------------------------|\n| [getContent()](#getContent()) | `String` | Gets the content of this meta tag. |\n| [getName()](#getName()) | `String` | Gets the name of this `Html``Output``Meta``Tag`. |\n\nDetailed documentation \n\n`get``Content()` \nGets the content of this meta tag.\n\nReturn\n\n\n`String` --- the content of this meta tag.\n\n*** ** * ** ***\n\n`get``Name()` \nGets the name of this `Html``Output``Meta``Tag`.\n\nReturn\n\n\n`String` --- the name of this meta tag."]]