HTML production of mixed graphics and text effects

王林
Release: 2020-12-30 10:15:45
forward
9481 people have browsed it

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>
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template