<svg> Element

The <svg> element is a root topobase element. The root element contains topobase size specified in pixels, and the proportionality attribute (optional) that shows the ratio between topobase height and width. The p5 namespace used to declare specific attributes and elements of the topobase, is also defined within this element. Use the p5: prefix when defining additional topobase attributes and elements, not included into the SVG specification. The <svg> element is mandatory.

Syntax

<svg version="1.1" xmlns:p5="http://www.fsight.ru" width="853px" height="640px" proportionality="0.75" xmlns="http://www.w3.org/2000/svg">

</svg>

Element Attributes

Attribute Description
version The specification version number.
xmlns:p5="http://www.fsight.ru" Namespace required to declare specific topobase elements.
width Topobase width.
height Topobase height.
proportionality This is an optional attribute that shows the ratio of height and width.

NOTE. The table contains attributes determined by the specification of SVG format of the version 1.1 and used by a topobase. Names of all attributes must be written in lower-case letters.

See also:

SVG Topobase Structure