Dreamweaver Extensions

Text format tag

The <textformat> tag lets you use a subset of paragraph formatting properties of the TextFormat class within HTML text fields, including line leading, indentation, margins, and tab stops. You can combine <textformat> tags with the built-in HTML tags.

The <textformat> tag has the following attributes:

  • blockindent Specifies the block indentation in points;
  • indent Specifies the indentation from the left margin to the first character in the paragraph;
  • leading Specifies the amount of leading (vertical space) between lines;
  • leftmargin Specifies the left margin of the paragraph, in points;
  • rightmargin Specifies the right margin of the paragraph, in points;
  • tabstops Specifies custom tab stops as an array of non-negative integers.