How to use html delete line / through line label
This article mainly introduces html strikeout/through line tag how to use the relevant knowledge, detailed and easy to understand, simple and fast operation, with a certain reference value, I believe that everyone reading this html strikeout/through line tag how to use the article will have a harvest, let's take a look at it.
html tag element, strikeout tag element\through-line tag element
Configuration text font strike-out label, font text in the middle through a horizontal line, often used in the original price and preferential price, the original price figures use strike-out effect, then preferential price figures normal performance.
Common text settings for pen, ink, numbers, etc.
Strike means to stop working.
I. Strike syntax content
Here "mode" will display strike-through achievements in the reader, drawing a horizontal line from both ends of the text is also called a cross line.
A strike is a pair of labels, one with a matching face and one with a closing face, beginning with the other and ending with the other.
CSS5strike{ color:#666}
The original price of this commodity: 100 yuan, 80 yuan at the moment.
Here for strike apply simultaneously, set the gap font color fancy to it.
CSS and strike-through line at the same time use example screenshot
CSS is related to HTML tags.
This is the CSS text-decoration:line-through.
Example Code:
strike with CSS strikethrough CSS5strike{ color:#666}.scx{ text-decoration:line-through}
The original price of this product: 100 yuan, originally 80 yuan.
CSS to delete pen and ink
Here, the equipment is equipped with HTML strike-out tags, and CSS text-decoration is also used to complete the strike-out effect.
CSS instance effect screenshot
Delete line configuration according to important choice HTML strike or CSS text-decoration in real DIV CSS construction
About "html strikeout/how to use the line tag" The content of this article is introduced here, thank you for reading! I believe everyone has a certain understanding of the knowledge of "html strikeout/how to use the line tag". If you still want to learn more knowledge, please pay attention to the industry information channel.