Name

<meta> — Metadata about the document

Description

<meta> tags convey information about document metadata. The tag must contain a single text node: the metadata value.

Attributes

NameTypeDefault
begNUMBER0
dictidCDATANone
endNUMBER0
keyCDATANone
normalized0 or 1None
posNUMBER0
sliceidEnumeration, see slice and dictionary idsNone
tokenized0 or 1None
typeEnumeration: documentwide, positional, rangedNone
beg

Position of the first word the metadata applies to. Valid when type is ranged only.

dictid

The slice dictionary id, used for backward compatibility only. See <low> tag.

end

Position of the last word the metadata applies to. Valid when type is ranged only.

key

The metadata key.

normalized

1 if searchbox must utf8-normalize the metadata value, 0 if it must not.

pos

Position of the word the metadata applies to. Valid when type is positional only.

sliceid

The slice name for the metadata.

tokenized

1 if searchbox must tokenize the metadata value (i.e. divide it into words), 0 if it must not.

type

Whether the metadata applies to the whole document, to a single word or to a range of words.

All positions are expressed in number of words from the start of the document; the first word is at position 0.

searchbox always emits both dictid and sliceid but can accept tags even with only one of them. If both are present and don't match searchbox behaviour is undefined.

Parents

<fff> tag

Children

This tag has no children.