[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\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,["# Class HtmlOutputMetaTag\n\nHtmlOutputMetaTag\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\n### Methods\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\n### `get``Content()`\n\nGets the content of this meta tag.\n\n#### Return\n\n\n`String` --- the content of this meta tag.\n\n*** ** * ** ***\n\n### `get``Name()`\n\nGets the name of this `Html``Output``Meta``Tag`.\n\n#### Return\n\n\n`String` --- the name of this meta tag."]]