Font
Arial
Arial Black
Comic Sans MS
Courier
Courier New
Fixedsys
Georgia
Impact
Lucida Console
Lucida Sans Unicode
MS Sans Serif
MS Serif
Marlett
Modern
Palatino Linotype
Roman
Script
Small Fonts
Symbol
System
Tahoma
Terminal
Times New Roman
Trebuchet MS
Verdana
Webdings
Wingdings
Font
Size
1 (8 pt)
2 (10 pt)
3 (12 pt)
4 (14 pt)
5 (18 pt)
6 (24 pt)
7 (36 pt)
Size
Description
XHTML toolbar button toggles the current document type between HTML and XHTML. When XHTML mode is selected,
the editor content complies with
XHTML 1.0 Transitional
.
You can set the
SelectedValue
property to
True
for the XHTML toolbar item in your editor XML file to initially open
the editor in XHTML mode as follows:
<
ToolbarItem
Type=
"Button"
ID=
"XHTML"
Command=
"XHTML"
ButtonFile=
"XHTML.gif"
Selected=
"True"
/>
UltimateEditor control also has an
XHTML
property that indicates whether UltimateEditor is located on a page with
document type of XHTML. We recommend that you set
XHTML
property of your UltimateEditor control to
True
if your ASPX page DOCTYPE is set as follows:
<
!DOCTYPE
html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
When
XHTML
property of your UltimateEditor control is set to
True
, it overrides
SelectedValue
property of your
XHTML toolbar button to
True
and generates XHTML output until you toggle off your XHTML toolbar button.