Home  >  Article  >  Web Front-end  >  HTML production of mixed graphics and text effects

HTML production of mixed graphics and text effects

王林
王林forward
2020-12-30 10:15:459451browse

HTML production of mixed graphics and text effects

Introduction to image attributes:

(Learning video sharing: html video tutorial)

hspace and vspace attributes can set images surrounding space.

The hspace attribute can set or return the hspace attribute value of the image.

The hspace attribute specifies the margins on the left and right edges of the image (set the distance between the image and the left and right edges of the text)

The vspace attribute specifies the margins on the top and bottom of the image.

Note: HTML5 does not support the vspace attribute. Please use CSS instead. The vspace attribute is deprecated in HTML 4.01.

Implementation code:

这里写代码片
<h1 align="left">
    <b>案例说明:图文混排效果</b>
</h1>
<p>出租车司机彭某回忆道。神色慌张的女子,哭闹不停的婴儿。</p>
<a target="_blank" href="1.html">
      <img  src="../img/html02.jpg"    style="max-width:90%" border="1px black solid" hspace="20px" align="left" / alt="HTML production of mixed graphics and text effects" >
</a>

Implementation effect:

HTML production of mixed graphics and text effects

##Related recommendations:

html tutorial

The above is the detailed content of HTML production of mixed graphics and text effects. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete