|
|
JavaScript sup() Method
JavaScript String Object
Definition and Usage
The sup() method is used to display a string as superscript.
Syntax
Example
Example
Display text in superscript:
<script type="text/javascript">
var str="Hello world!";
document.write(str.sup());
</script>
|
Try it yourself »
|
JavaScript String Object
The Creators of XMLSpy are Pleased to Announce
|
|
|