Home >Web Front-end >HTML Tutorial >Ask the experts! How to make spaces in TEXT in HTML have the same width as ordinary characters? _html/css_WEB-ITnose

Ask the experts! How to make spaces in TEXT in HTML have the same width as ordinary characters? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:15:531362browse

Ask the experts for advice! How to make spaces in TEXT in HTML have the same width as ordinary characters?
Such as:
1. 5 spaces, I want it to be displayed the same as 1

No, there is a font problem, the text is not monospaced. You can use a fixed-width font, but there is no guarantee that the user's computer has that font.

No, there is a font problem, the text is not fixed-width. You can use a fixed-width font, but there is no guarantee that the user's computer has that font

Hey. . Since the content to be displayed was entered later, it may not be easy to handle, so I ended up posting it...

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