Everyone knows that we can create wonders with HTML and CSS. But sometimes we use JavaScript to create dynamic designs like a Search drop-down, progress bar etc…
But there are some tags which will create those thing without JavaScript
1. <del> & <ins>
Let’s say you want to update the phrase in the paragraph but you need to show the old phrase also that time you can use these two tags <del> & <ins>
Example Code
Output :
2. <datalist>
If you want to create a dropdown or a searchable text inside an input element without using any javascript, you can use a remarkably useful HTML tag <datalist>
.
The tag <datalist>
provides a pre-defined list of options for the input element with the autocomplete feature. You just need to put a list of options inside the element <datalist>
using the tag <option>
Example Code
Output :