80 likes | 110 Views
We often combine HTML with CSS, JavaScript, and other technologies to make our websites and blogs appear more appealing. But does HTML contain a wealth of useful tips and tricks that might come in helpful and assist you in creating a beautiful website?<br><br>To stay updated with rising business and tech trends, Visit our website: https://www.marsdevs.com/
E N D
www.marsdevs.com 01/07 5 HTML tricks nobody tells you
02/07 01 Accept The accept attribute allows the user to choose which file types can upload, such as just uploading.jpg or.raw. <input type="file" accept=".jpg , .raw">
03/07 02 Spellcheck On HTML elements like input, spellcheck is used to check spelling and grammar. <p spellcheck="true"> Hello World! </p>
04/07 03 Translate The translate attribute indicates to the browser whether or not to translate the text. <p translate="no"> Hello World! </p>
05/07 04 Poster While the movie is downloading, you can define an image to display using the poster attribute. <video src=" " poster="any.png"></video>
06/07 05 Download Instead of surfing or searching, the download attribute instructs the browser to download a URL. When a user clicks on the hyperlink, the download attribute signals that the target file will be downloaded. <a href=" " download></a>