Get started with labelauty CDN

MIT licensed

Labelauty: Lightweight library enhances form label positioning for accessibility, user experience.

Tags:
  • jquery
  • checkbox
  • radio
  • style
  • UI
  • UX

Stable version

Copied!

How to start using labelauty CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with labelauty CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0-alpha1/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.cdnhub.io/labelauty/1.1.4/jquery-labelauty.min.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.cdnhub.io/labelauty/1.1.4/jquery-labelauty.min.js"></script>
</head>
<body>
    <div class="container mt-5">
        <form>
            <div class="form-group">
                <label for="exampleInput" class="form-label">Example Input</label>
                <input type="text" class="form-control" id="exampleInput" aria-describedby="exampleHelp" placeholder="Enter something...">
                <small id="exampleHelp" class="form-text text-muted">Help text</small>
            </div>
            <button type="submit" class="btn btn-primary">Submit</button>
        </form>
    </div>

    <script>
        $(document).ready(function() {
            $('input[type="text"]').labelauty();
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions