Tools
▾
🎨 Color Picker
🌈 Gradient Generator
🌑 Box Shadow
📐 Flexbox Playground
🔲 CSS Grid Builder
🔷 SVG Shapes
📋 JSON Formatter
🔍 Regex Tester
All tools →
Learn
▾
HTML
CSS
JavaScript
TypeScript
PHP
React
Laravel
SQL
Git
All learning paths →
Roadmaps
▾
🖥️ Frontend Developer
🐘 PHP Developer
⚡ JavaScript
🌐 Full-Stack
All roadmaps →
Projects
Blog
Code Editor
Sign in
Get Started Free
GizDevCraft Editor - HTML Input Types
▶ Run
🔗 Share
HTML
CSS
JS
<main class="lesson-shell"> <section class="demo-card"> <span class="eyebrow">HTML Input Types</span> <h1>HTML practice area</h1> <p>Edit the HTML tab and keep the structure meaningful.</p> <form action="/signup" method="post"> <fieldset> <legend>Join the HTML course</legend> <label for="name">Name</label> <input id="name" name="name" type="text" required minlength="2"> <label for="email">Email</label> <input id="email" name="email" type="email" required autocomplete="email"> <button type="submit">Submit</button> </fieldset> </form> </section> </main>
body { margin: 0; min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f8fafc; color: #111827; } .lesson-shell { min-height: 100vh; display: grid; place-items: center; padding: 2rem; } .demo-card { width: min(760px, 100%); background: #ffffff; border: 1px solid #dbe3ef; border-radius: 12px; padding: 2rem; box-shadow: 0 18px 45px rgb(15 23 42 / .10); text-align: center; } .eyebrow { display: inline-block; margin-bottom: .75rem; color: #4f46e5; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; } h1 { margin: 0 0 .75rem; font-size: clamp(1.8rem, 4vw, 3rem); } p { color: #536471; line-height: 1.7; } button { border: 0; border-radius: 8px; padding: .75rem 1rem; background: #4f46e5; color: white; font-weight: 800; cursor: pointer; } .demo-target { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; } .box { border: 1px solid #dbe3ef; border-radius: 8px; padding: 1.25rem; background: #f8fafc; font-weight: 800; } .featured { background: #eef2ff; color: #3730a3; } .code-sample { text-align: left; background: #111827; color: #e5e7eb; padding: 1rem; border-radius: 8px; overflow: auto; }
document.querySelectorAll('form').forEach(form => { form.addEventListener('submit', event => { event.preventDefault(); alert('Form captured in the lesson editor.'); }); });
Our Network
GizDevCraft
40+ Free Developer Tools
GizBotArena
Device Platforms
GizCalc
750+ Free Calculators