When editing an article, HTML element can be inserted.
HTML element is a part of the HTML code. You can insert some
commonly-used content quickly by inserting a section of
HTML element.
When editing an article, click "Main Menu->Insert->HTML element"
successively and a dialog for inserting HTML element will be displayed. In
the dialog, select a HTML element, click "OK" and then the selected HTML
element will be inserted on the current position in the editing article.
HTML elementThere are listed all the usable HTML elements in the
system. Select an element in the list and the practical effect of the HTML
element will be shown in the right window for preview. In "HTML Text" is
listed the HTML source code correspondingly to the HTML element.
AdvancedYou can define a HTML element by yourself through editing the file
"Plugins\Normal\HTMLElements.xml" under the install directory.
As it is an XML file, we suggest you editing it by using a professional XML
editor.
A example is as follows:
<HTMLElements>
<Element Type="Horizonal Line" Type_2052="水平线"><hr></Element> <Element Type="Marquee Text" Type_2052="走马灯文字"><marquee>Marquee Text</marquee></Element> <Elements Type="Form" Type_2052="表单"> <Element Type="Push Button (Normal)" Type_2052="按钮(普通)"><input type="button" value="Button1" name="Button1"></Element> <Element Type="Push Button (Submit)" Type_2052="按钮(提交)"><input type="submit" value="Submit" name="ButtonSubmit1"></Element> <Element Type="Push Button (Reset)" Type_2052="按钮(重置)"><input type="reset" value="Reset" name="ButtonReset1"></Element> </Elements> </HTMLElements> HTML Elements:XML Root Node Element:HTML Element Node
Notice: This file should be saved in Unicode.
|
|
|