+ 2

Which html tag can create a line that goes through a Text? I taught it was <pre> but it's Not? OMG answer is <del>.

Html tag

7th Jan 2020, 3:23 PM
Max
Max - avatar
5 Antworten
+ 2
<hr /> is horizontal rule tag Use it if you want to draw a line (if that's what you're asking) Maybe you're looking for strikethrough which was deprecated in HTML 4, new tag is called delete and is used like this: <p>Some <del>removed</del> <ins>added</ins> text </p>
7th Jan 2020, 5:23 PM
HNNX 🐿
HNNX 🐿 - avatar
+ 1
It could be any text like I put in the example "Text me"
7th Jan 2020, 4:00 PM
Max
Max - avatar
+ 1
Thanks, the answer is the< del > tag.
7th Jan 2020, 6:51 PM
Max
Max - avatar
+ 1
Thx to you Mirielle for taking time to read and answer my question.
7th Jan 2020, 6:53 PM
Max
Max - avatar