Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

tag

import { tag } from "https://raw.githubusercontent.com/olaven/serialize-xml/v0.3.2/mod.ts";

Returns a Tag

function tag(
name: string,
children?: string | Tag[],
attributes?: [string, string][],
): Tag;
§
tag(name: string, children?: string | Tag[], attributes?: [string, string][]): Tag
[src]

§Parameters

§
name: string
[src]

name of the tag

§
children?: string | Tag[] optional
[src]
§
attributes?: [string, string][] optional
[src]

§Return Type