HTML <input> 标签的 formaction 属性HTML <input> 标签实例带有两个提交按钮的表单(不同的 action 值):<form action="demo_form.php" method="get"> First name: <input typ
HTML <input> 标签的 form 属性HTML <input> 标签实例位于表单之外的输入字段:Last name: <input type="text" name="lname" form="nameform" /> 完整实例【亲自试一试】:<!DO
HTML <input> 标签的 disabled 属性HTML <input> 标签实例带有一个禁用输入字段的 HTML 表单:<form action="form_action.php" method="get"> <p>First name: <input type="
HTML <input> 标签的 dirname 属性HTML <input> 标签实例将提交字段文本方向的 HTML 表单:<form action="/action_page.php"> <label for="fname">First name:</label> <in
HTML <input> 标签的 checked 属性HTML <input> 标签实例带有一个预选定复选框的 HTML 表单:<form action="form_action.php" method="get"><input type="checkbox" name="ve
HTML <input> 标签的 autofocus 属性HTML <input> 标签实例文本输入字段被设置为当页面加载时获得焦点:<form action="demo_form.php"> First name:<input type="text" name
HTML <input> 标签的 autocomplete 属性HTML <input> 标签实例启用自动完成功能的表单(其中一个输入字段禁用了自动完成):<form action="demo_form.asp" method="get" autocomp
HTML <input> 标签的 alt 属性HTML <input> 标签实例下面的表单拥有两个输入字段以及一个图像形式的提交按钮:<form action="form_action.asp" method="get"> <p>First name
HTML <input> 标签的 accept 属性HTML <input> 标签实例在文件上传中使用 accept 属性,本例中的输入字段可以接受 GIF 和 JPEG 两种图像:<form> <input type="file" name="pi
HTML <img> width 属性HTML <img> 标签实例高度为 400 像素,宽度为 600 像素的图像:<img src="tulip-yellow.jpg" alt="郁金香" width="600" height="400"> 完整实例【亲自试
HTML <img> 标签的 usemap 属性HTML <img> 标签实例客户器端图像映射:<img src="planets.gif" alt="Planets" usemap="#planetmap" /><map name="planetmap"> <area href="s
HTML <img> 标签的 src 属性HTML <img> 标签实例在下面的例子中,我们在页面中插入一幅 phpcodeweb 的工程师在上海鲜花港拍摄的郁金香照片,该照片文件的名称是 "eg_tulip.jpg"
HTML <img> referrerpolicy 属性HTML <img> 标签实例设置图片的引用策略:<img src="https://example.com/images/myimage.jpg" alt="Some image" referrerpolicy="no-referre
HTML <img> 标签的 longdesc 属性HTML <img> 标签实例使用 longdesc 属性,指向一个包含图像描述信息的页面:<img src="eg_logo_w3school.gif" alt="phpcodeweb.com" longdesc=
HTML <img> loading 属性HTML <img> 标签实例向首屏下方的图像添加延迟加载:<img src="/i/photo/beijing.jpg" alt="北京" style="width:100%"><img src="/i/photo/shanghai.