JavaScript fixed() Method
JavaScript String object
Definition and Usage
The fixed() method is used to display a string in a typewriter font.
This method returns the string with an tag added, as shown below:
string
Syntax
string
.fixed()
Browser support





All major browsers support the fixed() method.
Example
Example
Display a string as typewriter text:
Try it »
JavaScript String object