Code Template Abbreviations: Quick Reference

See Also

You can reduce the number of keystrokes when you are typing code by typing abbreviations to generate code from templates. The abbreviation is expanded into the template after you press the Tab key.

The IDE comes with a set of code templates. You can also create your own code templates.

To view documentation specific to the type of project you are working in, see the following pages:


Below is the list of code templates that the IDE provides by default.


XML Files

Abbreviation Code Template
!at <!ATTLIST |>
!cd <![CDATA[|]]>
!do <!DOCTYPE
!el <!ELEMENT |>
!en <!ENTITY |>
?xm <?xml version="1.0" encoding="UTF-8"?>
pu PUBLIC "|"
sy SYSTEM "|"

DTD Files

Abbreviation Code Template
!el <!ELEMENT |>
!en <!ENTITY |>
!no <!NOTATION |>
cd CDATA
em EMPTY
en ENTITY
ens ENTITIES
fi #FIXED
im #IMPLIED
nm NMTOKEN
nms NMTOKENS
nn NOTATION
pc #PCDATA
pu PUBLIC "|"
re #REQUIRED
rf IDREF
rfs IDREFS
sy SYSTEM "|"

CSS Files

Abbreviation Code Template
bg background:
di display:
fs font-size:
See Also
Keyboard Shortcuts

Legal Notices