HTML input width属性
input width属性
HTML input width属性适用于type类型为image的input元素,用于设置图像元素的宽度,单位可以是像素px,也可以是百分比%。
语法
< input type="image" width="value">
input width属性实例代码,及在线编辑器
<input type="image" src="../../static/img/bmi.jpg" width="100%">
HTML input width属性适用于type类型为image的input元素,用于设置图像元素的宽度,单位可以是像素px,也可以是百分比%。
< input type="image" width="value">
<input type="image" src="../../static/img/bmi.jpg" width="100%">
笨鸟工具HTML+CSS+JS在线编辑器
全栈前端 / HTML属性 :
Copyright © 2022-2024 笨鸟工具 x1y1z1.com All Rights Reserved.