Home > Web Front-end > HTML Tutorial > What are the space symbols in html?

What are the space symbols in html?

王林
Release: 2020-12-21 09:44:17
forward
4667 people have browsed it

What are the space symbols in html?

Space symbols in html:

(Learning video sharing: html video tutorial)

What are the space symbols in html?

Spaces in css:

When the value of the white-space attribute in CSS is pre, the browser will retain the spaces and line breaks in the text, for example:

<div style="white-space:pre">AA   BB<div>
Copy after login

Display effect For: AA BB

The letter-spacing property of CSS is used to set the spacing between characters in the text, for example:

<div style="letter-spacing:5px;">欢迎光临!</div>
Copy after login

The display effect is: Welcome Guanglin!

The word-spacing property of CSS is used to set the spacing between words in the text, for example:

<div style="word-spacing:5px">Happy new year!</div>
Copy after login

The display effect is: Happy new year!

html Commonly used symbols in:

What are the space symbols in html?

Related recommendations: html tutorial

The above is the detailed content of What are the space symbols in html?. 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