Font-Size Attribute

HTML (DHTML)

Font-Size Attribute

Internet Development Index

Defines the size of the font. Read/write String.

Applies To

TextPath

Tag Syntax

<v: element style="font-size:expression">

Script Syntax

element.style.fontsize="expression"

expression=element.style.fontsize

Remarks

The font size is defined in points. The values are the same as the standard HTML style attributes.

VML Standard Attribute

Example

The font size is 36 points.

   <v:line from="50 100" to="400 100">
   <v:fill on="True" color="red"/>
   <v:path textpathok="True"/>
   <v:textpath on="True" string="VML Text"
   style="font:normal normal normal 36pt Arial"/>
   </v:line>