HtmlOutputMetaTag

An object that represents a meta tag added to the page by calling `https://developers.google.com/apps-script/reference/html/html-output#addMetaTag(String,String)`.

```javascript
const output = HtmlService.createHtmlOutput('<b>Hello, world!</b>');
output.addMetaTag('viewport', 'width=device-width, initial-scale=1');

const tags = output.getMetaTags();
Logger.log(
    '<meta name="%s" content="%s"/>',
    tags[0].getName(),
    tags[0].getContent(),
);
```

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/html/html-output-meta-tag#getContent()` | `String` | Gets the content of this meta tag. |
| `https://developers.google.com/apps-script/reference/html/html-output-meta-tag#getName()` | `String` | Gets the name of this `HtmlOutputMetaTag`. |

## Detailed documentation

### `getContent()`

Gets the content of this meta tag.

#### Return


`String` --- the content of this meta tag.

*** ** * ** ***

### `getName()`

Gets the name of this `HtmlOutputMetaTag`.

#### Return


`String` --- the name of this meta tag.