CuteEditor for ASP 6.6 Class Library

Editor.DOCTYPE Property

Cute Editor allows you to edit a full HTML page, including <title>, <!DOCTYPE...> and some other options. You can use this property to specify the DOCTYPE (document type declaration) which will appear at the very top of every web page.


Example Code

      <%
           Dim editor
           Set editor = New CuteEditor
           editor.ID = "Editor1"
           'You can use Editor.DOCTYPE property to specify the DOCTYPE (document type declaration) which will appear at the very top of every web page.
           editor.DOCTYPE = "<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.01 Transitional//EN"" ""http://www.w3.org/TR/html4/loose.dtd"">"
           editor.Text = "Hello World"
           editor.Draw()
      %>

See Also

Editor Class | CuteEditor Namespace