Home >Web Front-end >HTML Tutorial >html space code

html space code

黄舟
黄舟Original
2016-12-28 10:53:174978browse

The html space code character entity is a non-breaking space [ ], which is the space code in html.

A netizen asked: Will the output effect of typing multiple space codes in HTML be just one space? What should I do if I need to increase the distance between paragraph images?

The size of a font size is also the size of a space. When we enter a space code, it means that a font size is vacated between them. Then the distance between the short-circuit pictures will be increased and controlled. The size of the font size, or enter the space code a few more times. For example, you can understand how to use the space code by trying the following two pieces of code.

<span style="font-size:12px;">   </span>二个空格<br>
<span style="font-size:36px;">   </span>二个空格<br>

Of course these are the ways to write spaces in html. This is the introduction to the html space code. If you still have questions, you can give us feedback. Hope it can help you

The above is the content of html space code. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
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
Previous article:HTML5 Tutorial-VideoNext article:HTML5 Tutorial-Video