Get started with typed.js CDN

MIT licensed

Typed.js is a library for creating animated, dynamic text on web pages.

Tags:
  • typed
  • animation

Stable version

Copied!

How to start using typed.js CDN


<!DOCTYPE html>
<html>
<head>
    <style>
        #typed-text {
            text-align: center;
            font-size: 2em;
            margin-top: 50px;
        }
    </style>
</head>
<body>
    <div id="typed-text"></div>
    <script src="https://cdn.cdnhub.io/typed.js/2.1.0/typed.umd.js"></script>
    <script>
        const typed = new Typed('#typed-text', {
            strings: ['Hello, World!', 'Welcome to my website!'],
            typeSpeed: 50,
            backDelay: 1000,
            loop: true,
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions