If you want an element to contain only text, declare it like this:
<!ELEMENT gi (#PCDATA)>The #PCDATA part means
“parsed character data.”
For example, suppose your DTD has this declaration:
<!ELEMENT remark (#PCDATA)>
Then a conforming XML document could have an element in it that looks like this:
<remark>There was something fishy about the butler.
I think he was working for scale.</remark>