html question | Sololearn: Learn to code for FREE!
0

html question

where is use <del>(deleted text) tag??

27th Apr 2020, 1:46 PM
Manuel
6 Respuestas
+ 3
In most shopping sites, there is a real price or old price with a strike through on it and the offer price or new price in bold. For making the strike through ,we can use <del> tag
29th Apr 2020, 4:28 AM
Abdu Ramshad M K
Abdu Ramshad M K - avatar
+ 2
Suppose you want to show the new price of a prouct my printing a strike through price beside it then you can use <del>
27th Apr 2020, 1:49 PM
Prabhat Ranjan
Prabhat Ranjan - avatar
+ 2
If you want to update a page content you doesn't have to use <del>, just make your changes. You have to use <del> for semanticaly and visualy mark a text as deleted (but keeping the "deleted" text in your content: imagine you've wrote an article, few times later you notice you've made a mistake, then you edit, but you don't want to hide to your the readers that a first version contained an error now corrected -- as on paper, you will strike the bad text and add the correction)
28th Apr 2020, 11:14 AM
visph
visph - avatar
+ 1
thank you))
29th Apr 2020, 7:34 AM
Manuel
0
but for example news sites every day writting recent news and <del> don't using every day. or product sites every day writes new price but it do every man, not i
27th Apr 2020, 1:58 PM
Manuel
0
so i give the <del> tag for old price and end??
27th Apr 2020, 2:00 PM
Manuel