• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

HTML图象(IMAGE)标记(TAGS)_html

html 搞代码 7年前 (2018-06-15) 170次浏览 已收录 0个评论

HTML图象(IMAGE)标记(TAGS)_html 链入图象的基本语法

<——img source——->

<img src=#> #=图象的 URL

<——img description——->

<img alt=#>
#=在浏览器尚未完全读入图象时,在图象位置显示的文字。

<img src="http://www.www.gaodaima.com/html/f.gif" title="HTML图象(IMAGE)标记(TAGS)_html" alt="MY FACE :-)">

HTML图象(IMAGE)标记(TAGS)_html


<–################## Image aligned with Text ########################–>

HTML图象(IMAGE)标记(TAGS)_html 图象和文字的对齐

<img align=#> #=top, middle, bottom

<img src=URL align=top> My face!

HTML图象(IMAGE)标记(TAGS)_html My Face!

<img src=URL align=middle> My face!

HTML图象(IMAGE)标记(TAGS)_html My Face!

http://www.gaodaima.com/32295.htmlHTML图象(IMAGE)标记(TAGS)_html

<img src=URL align=bottom> My face!

HTML图象(IMAGE)标记(TAGS)_html My Face!

  • 只有一行文字才可以放在图象的两边。(不知道翻译的对不对?)
  • Only one text line can be flown into the both side of Image.

<–################## Floating Image ########################–>

HTML图象(IMAGE)标记(TAGS)_html 图象在页面中的对齐/布局(Floating Image)

<——img align=left——->

<img align=left>

<img src=URL align=left>My Face!<br>
It is always<br>
smiling.<br>
Hahaha....<br>

HTML图象(IMAGE)标记(TAGS)_htmlMy Face!
It is always
smiling.
Hahaha….


<——img align=right——->

<img align=right>

HTML图象(IMAGE)标记(TAGS)_htmlMy Face!
It is always
smiling.
Hahaha….


<——br clear——->

<br clear=all>

<img src=URL align=left>My Face!<br>
It is always
<br clear=all>
smiling.<br>
Hahaha....<br>

HTML图象(IMAGE)标记(TAGS)_htmlMy Face!
It is always

smiling.
Hahaha….


<——vspace hspace——->

<img vspace=# hspace=#> #=value

<img src=URL align=left vspace=10 hspace=20>My Face!<br>
It is always<br>
smiling.<br>
Hahaha....<br>

HTML图象(IMAGE)标记(TAGS)_htmlMy Face!
It is always
smiling.
Hahaha….


<–################## Border ########################–>

HTML图象(IMAGE)标记(TAGS)_html 边框

<——border——->

<img border=#> #=value

<a href="URL">
<img src=URL border=15>
</a>

HTML图象(IMAGE)标记(TAGS)_html


<–################## Client Side Image Map ########################–>

HTML图象(IMAGE)标记(TAGS)_html 客户端图象映射图(Client Side Image Map)

请在下图中用鼠标到处点一点,就会理解“客户端图象映射图”的意思了。

<——Basic——->

<img src=http://www.www.gaodaima.com/html/img.gif usemap=”MAP-Name”>

<map name=”MAP-Name”>
<area shape=”#” coords=”#” href=”url”>
</map>

#

shape=”rect” coords=”A,A’,B,B'”

(A,A’)=Upper Left, (B,B’)=Lower Right

shape=”circle” coords=”A,A’,R'”

(A,A’)=Center, R=Radius

shape=”poly” coords=”A,A’,B,B’,C,C’…”

(A,A’>=First Corner, (B,B’)=Second Corner, …


HTML图象(IMAGE)标记(TAGS)_html

<Text BOTTON>

<Triangle BOTTON>

<FACE>

<img src="maphttp://www.www.gaodaima.com/html/img.gif" usemap="#Face"><map name="Face"><!Text BOTTON>   <area shape="rect"         href="page.html"          coords="140,20,280,60"><!Triangle BOTTON>   <area shape="poly"         href="image.html"         coords="100,100,180,80,200,140"><!FACE>   <area shape="circle"          href="new.html"          coords="80,100,60"></map>

欢迎大家阅读《HTML图象(IMAGE)标记(TAGS)_html》,跪求各位点评,若觉得好的话请收藏本文,by 搞代码


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:HTML图象(IMAGE)标记(TAGS)_html

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址