تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]