RSS

 
WinEdt Macro Library  | HTML previous macro  | next macro

DocType

Description

Inserts the appropriate DocType declaration at the beginning of the document and returns to the current place in the text.

Currently only supports HTML doctypes, but has an 'other' option which merely inserts the empty tag.

Installation

Put the macro in %b\Macros\HTML\, and assign a shortcut to it if you want.

Download

HTML/DocType.edt

Macro contributed by Anthony Roy <progant-roy.co.uk>.

WinEdt Macro Library  | HTML previous macro  | next macro