HTML Text Generator
Formatting text in HTML is easy, but this HTML text generator makes it even easier! To use this HTML text generator, do the following:
- Select the values you need
- Click "Generate Code" (or "Generate Code and Preview")
- Copy & paste the code to the HTML of your web page.
'<!-- HTML Codes by Quackit.com -->\n' +
BalasHapus((textalign) ? '<p style="text-align:' + textalign + ';">' : '') +
'<span style="' +
((fontfamily) ? 'font-family:' + fontfamily + ';' : '') +
((fontsize) ? 'font-size:' + fontsize + ';' : '') +
((fontstyle) ? 'font-style:italic' + ';' : 'font-style:normal;') +
((fontweight) ? 'font-weight:bold' + ';' : 'font-weight:normal;') +
((textdecoration) ? 'text-decoration:' + textdecoration + ';' : '') +
((texttransform) ? 'text-transform:' + texttransform + ';' : '') +
((fontvariant) ? 'font-variant:small-caps;' : '') +
((letterspacing) ? 'letter-spacing:' + letterspacing + 'px;' : '') +
((lineheight) ? 'line-height:' + lineheight + 'px;' : '') +
((textindent) ? 'text-indent:' + textindent + 'px;' : '') +
((fontcolor) ? 'color:' + fontcolor + ';' : '') +
((backgroundcolor) ? 'background-color:' + backgroundcolor + ';' : '') +
'">' +
textbody +
'</span>\n' +
((textalign) ? '</p>' : '') +
'';