In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article analyzes how "html p starts with two blanks from the left". The content is detailed and easy to understand. Interested friends who are interested in "html p start with two blanks from the left" can follow the editor's train of thought to read it in depth. I hope it will be helpful to everyone after reading. Let's follow the editor to learn more about how to realize the two spaces at the beginning of html p from the left.
The text inside the p tag is exposed with 2 spaces from the left, which is done through CSS. It is only through CSS that there is a good space for positions with 2 words, and soon there are not many two-character spaces.
CSS attribute English words:
Text-indent
Exactly 2 squares, with a value of 2em.
Text-indent:2em
Suppose p has a parent div, or set text-indent:2em to the class of this parent div, or set the equipment directly to p.
There are two ways to set the scale from the left in paragraph p of the article:
CSS and HTML codes
.kge {text-indent:2em}
The article paragraph wraps to see if there are two spaces at the beginning.
The line wrapping mode of the paragraph of the article is to see if it is possible to leave 2 spaces at the beginning.
Effect screenshot
Css setting p initially left two spaces empty
What are the characteristics of html 1, simplicity: hypertext markup language version upgrade using superset mode, thus more flexible and convenient, suitable for beginner front-end developers to use. 2. Extensibility: the wide application of hypertext markup language brings the requirements of strengthening functions and increasing identifiers. Hypertext markup language adopts the way of subclass elements to ensure the expansion of the system. 3. Platform independence: hypertext markup language can be used on a wide range of platforms, which is one of the reasons why the World wide Web is so popular. 4. Versatility: HTML is the universal language of the network, which allows web producers to create complex pages that combine text and pictures, which can be viewed by anyone else on the Internet, no matter what type of computer or browser they are using.
On the html p from the left to open two spaces is how to share here, I hope that the above content can make you improve. If you want to learn more knowledge, please pay more attention to the editor's updates. Thank you for following the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.