Markup Languages: HTML, SVG, and MathML
HTML, SVG, and MathML are markup languages for a web page. HTML marks a webpage content. SVG marks a vector graphic content. MathML marks mathematical notations.
HTML, being the primary webpage markup language, may host SVG and MathML. Yet, SVG may stand alone.
Each language uses elements to present content types. Then, tags to signify the position of each element.
A Tag is of 3 forms: A self-closing start tag, a start tag, and an end tag.
The tag form to use depends on the 2 types of elements: void elements or non-void elements.
Non-void elements are elements that can contain child elements. They use the start and end tags to denote the beginning and end of the child elements.
Void elements are elements that can not contain child elements. Void elements of SVG and MathML use the self-closing start tag to denote their position. But void elements of HTML use the start tag.
The start tag, be it self-closing, may include global and local attributes. An attribute modifies its element.