← 返回
未分类 中文

Create Web Form

Create robust, accessible web forms with best practices for HTML structure, CSS styling, JavaScript interactivity, form validation, and server-side processin...
使用最佳实践创建健壮、无障碍的网页表单,涵盖 HTML 结构、CSS 样式、JavaScript 交互、表单验证和服务器端处理。
jhauga jhauga 来源
未分类 clawhub v1.0.3 2 版本 100000 Key: 无需
★ 0
Stars
📥 365
下载
💾 0
安装
2
版本
#latest

概述

Create Web Form Skill

Overview

This skill provides comprehensive reference materials and best practices for creating web forms. It covers HTML syntax, UI/UX design, form validation, server-side processing (PHP and Python), data handling, and network communication.

Purpose

Enable developers to build robust, accessible, and user-friendly web forms by providing:

  • HTML form syntax and structure
  • CSS styling techniques for form elements
  • JavaScript for form interactivity and validation
  • Accessibility best practices
  • Server-side form processing with PHP and Python
  • Database integration methods
  • Network data handling and security
  • Performance optimization

Reference Files

This skill includes the following reference documentation:

UI & Styling

  • styling-web-forms.md - Form styling techniques and best practices
  • css-styling.md - Comprehensive CSS reference for form styling

User Experience

  • accessibility.md - Web accessibility guidelines for forms
  • javascript.md - JavaScript techniques for form functionality
  • form-controls.md - Native form controls and their usage
  • progressive-web-app.md - Progressive web app integration

HTML Structure

  • form-basics.md - Fundamental HTML form structure
  • aria-form-role.md - ARIA roles for accessible forms
  • html-form-elements.md - Complete HTML form elements reference
  • html-form-example.md - Practical HTML form examples

Server-Side Processing

  • form-data-handling.md - Network form data handling
  • php-forms.md - PHP form processing
  • php-cookies.md - Cookie management in PHP
  • php-json.md - JSON handling in PHP
  • php-mysql-database.md - Database integration with PHP
  • python-contact-form.md - Python contact form implementation
  • python-flask.md - Flask forms tutorial
  • python-flask-app.md - Building Flask web applications
  • python-as-web-framework.md - Python web framework basics

Data & Network

  • xml.md - XML data format reference
  • hypertext-transfer-protocol.md - HTTP protocol reference
  • security.md - Web security best practices
  • web-api.md - Web API integration
  • web-performance.md - Performance optimization techniques

Usage

When creating a web form, consult the appropriate reference files based on your needs:

  1. Planning: Review form-basics.md and form-controls.md
  2. Structure: Use html-form-elements.md and aria-form-role.md
  3. Styling: Reference styling-web-forms.md and css-styling.md
  4. Interactivity: Apply techniques from javascript.md
  5. Accessibility: Follow guidelines in accessibility.md
  6. Server Processing: Choose between PHP or Python references
  7. Data Storage: Consult database and data format references
  8. Optimization: Review web-performance.md and security.md

Best Practices

  • Always validate input on both client and server sides
  • Ensure forms are accessible to all users
  • Use semantic HTML elements
  • Implement proper error handling and user feedback
  • Secure form data transmission with HTTPS
  • Collect passwords or payment data only when necessary; hash passwords server-side and prefer hosted payment fields or tokenization from a trusted processor
  • Treat any credential shown in examples as a placeholder and load real secrets from environment variables or a secret manager
  • Follow progressive enhancement principles
  • Test forms across different browsers and devices
  • Optimize for performance and user experience

版本历史

共 2 个版本

  • v1.0.3 当前
    2026-05-21 13:49 安全 安全
  • v1.0.1
    2026-05-13 07:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 687 📥 331,484
design-media

HTML Designer

jhauga
资深网页平面设计师,专长于HTML/CSS设计,精通平面设计原理、排版、色彩理论及视觉层级。
★ 9 📥 2,433
dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,180