public XHTMLText appendImageTag ( String align , String alt , String height , String src , String width ) { text . halfOpenElement ( IMG ) ; text . optAttribute ( "align" , align ) ; text . optAttribute ( "alt" , alt ) ; text . optAttribute ( "height" , height ) ; text . optAttribute ( "src" , src ) ; text . optAttribute ( "width" , width ) ; text . rightAngleBracket ( ) ; return this ; }
Appends a tag that indicates an image .