---
title: "<html:image> 与<html:img>的区别"
author: "hewj"
date: "2007-09-30T11:07:37Z"
tags: []
slug: "html-image-html-img"
draft: false
lastmod: "2007-09-30T11:07:37Z"
id: 128429
url: "https://hewj.iteye.com/blog/128429"
---

&lt;html:image&gt; html:image具有自动提交功能 &lt;/html:image&gt;

          如果该标签在form里，他就可以自动提交表单，虽然你没有在onclick:"document.form.submit".

         屏蔽此功能可以这样写：onclick:"return false"

如果只是一般的显示图片可以使用： html:img &lt;html:img&gt; &lt;html:img&gt;