accent‑color Tester - Online Form Control Styling
Set a custom accent color for checkboxes, radios, range, and progress. See the browser’s rendering. Copy the CSS.
UD5 Toolkit
Explore and test all 22+ HTML input types in real-time. Interact, copy code, and understand browser behavior.
HTML5 defines 22+ input types including: text, password, email, url, search, tel, number, date, time, datetime-local, month, week, color, range, file, checkbox, radio, submit, reset, button, image, and hidden. Each type provides specialized input behavior, keyboard layouts on mobile devices, and built-in validation. Unknown types gracefully fall back to type="text".
Several input types optimize mobile keyboards for specific data entry:
Disabled (disabled): The input cannot be focused, its value is not submitted with the form, and it appears grayed out. Readonly (readonly): The input can be focused and tabbed to, its value is submitted with the form, but the user cannot modify the content. Use readonly when you want to display pre-filled data that should be submitted, and disabled when the field should be completely excluded from form submission.
Input types like date, time, datetime-local, month, and week trigger the browser's native date/time picker UI. On desktop Chrome/Edge, a clean calendar popup appears. On Safari, a different native picker is used. On mobile devices (iOS/Android), the OS-level date spinner or calendar is shown. This eliminates the need for JavaScript date picker libraries for basic use cases. The value format for date is always YYYY-MM-DD regardless of display format.
type="hidden" creates an invisible input field that stores data in the DOM without any visual representation. Common use cases include CSRF tokens, user IDs, session identifiers, or any server-generated data that needs to be submitted with a form but should not be seen or modified by users. The value is still visible in the page source and can be inspected via browser DevTools, so never store sensitive secrets in hidden fields.
Yes! The pattern attribute accepts a regular expression that the input value must match for form validation to pass. For example, pattern="[A-Za-z]{3,}" requires at least 3 alphabetic characters. Combined with required and title (for custom error messages), you can create powerful client-side validation without JavaScript. The title attribute text appears as a tooltip when validation fails.
Checkboxes allow multiple independent selections – each checkbox toggles on/off individually. Radio buttons with the same name attribute form a mutually exclusive group – selecting one automatically deselects the others. Use checkboxes for "select all that apply" scenarios and radio buttons for "choose one" scenarios. Both use the checked attribute to set a default selection.
type="image" creates a graphical submit button using an image specified by the src attribute. When clicked, it submits the form along with the x/y coordinates of the click position (as name.x and name.y parameters). This was historically used for image-based submit buttons and server-side image maps. For modern web apps, consider using type="submit" with CSS-styled buttons or inline SVG icons for better accessibility and control.
Set a custom accent color for checkboxes, radios, range, and progress. See the browser’s rendering. Copy the CSS.
Use <input type='color'> and see its change events and value in hex. Understand the native color picker. Quick demo.
Dynamically blend two colors using the CSS color‑mix() function in different color spaces. Copy the exact CSS snippet. No JS required.
Paste an HTML `<table>` snippet and instantly get a clean Markdown table. Supports colspan and alignment hints. Local.
Experiment with CSS container queries. Resize a container and see the styles change according to its size, not the viewport. Learn the new spec.
Enter a component name and generate a complete RTL test file with render, screen, and common assertions. Fast testing setup.
Build the same layout with both Grid and Flexbox side by side. See the code differences and visual results.
Add grid items beyond defined tracks and see how implicit rows/columns expand. Set sizes interactively. Master the grid.
Style an `<input type='range'>` with custom track and thumb. Cross‑browser CSS. Preview and copy the code.
Write modern CSS color functions like oklch(), lab(), hwb() and see the rendered color with fallback. Copy compatible code.
Use the light‑dark() CSS function to change colors based on color scheme. Build a simple dark mode toggle with one property.
Randomly picks a specific aspect to focus on (naming, security, performance) during code review. Sharpen reviews.
Enter a URL and drag a slider to change the viewport width smoothly. See exactly where your layout breaks. No iframe limits.
Randomly show a Q-code and select correct meaning. Learn while having fun. For your license exam.
Enter a CSS selector and see its specificity broken down into A,B,C columns with a visual weight comparison. Learn specificity.
A replica of the famous Flexbox Froggy game: solve alignment puzzles by writing CSS. Progress saved locally. Fun frontend learning.
Design custom radio buttons and checkboxes using pure CSS. Choose sizes, colors, and animation. Copy the code.
Style the <progress> and <meter> elements with cross‑browser CSS. Adjust colors and sizes. Copy the final styles.
Enter a palette of colors and see a grid showing whether each foreground/background pair passes AA or AAA contrast. Must for designers.
A complete, searchable list of all 140+ named HTML/CSS colors with their hex codes and color previews. Click to copy code. Essential web reference.
Test yourself on international calling codes. Random country, type the code. Or reverse. Perfect for travelers.
Searchable list of Q-codes with meanings. Also includes RST system. Prepare for license.
Test the upcoming contrast‑color() CSS function. Get white or black automatically for a given background. See it live.
Randomly given state names, type the 2‑letter postal code. Track accuracy.
Use named grid lines instead of column numbers. See how they simplify placement. Visual, interactive learning.
Experiment with scroll‑state container queries to style elements when they are stuck, snapped, or overflowed. Experimental.
Paste body text and test different font/background combos. See an actual passage rendered, not just a ratio. True feel for legibility.
Fill out a clean budget worksheet with income and expense categories. See totals and print. No data stored.
A template to create a basic last will and testament. Fill in names and assets. Print and sign. Not legal advice.
Paste your CSS and get a sorted list of all custom properties defined under :root with their values. Quick audit.