6 Things You Didn't Know About HTML Yet
HTML is often overlooked, but it's a powerful technology. This article explores 6 lesser-known HTML features, such as the spellcheck attribute, the download attribute, and the video thumbnail attribute.
Pratham
DevRel @HyperspaceAI • Prev @Rapid_API • Partners @iteration_x @10Web_io @StockImgAI @JamDotDev @CohesiveAI @refine_dev @chatlingai @Inboxproio @Docus_ai
-
HTML is the most ignored technology.
— Pratham (@Prathkum) April 19, 2023
6 things you didn't know about HTML yet: 🧵 -
1. Check the spelling
— Pratham (@Prathkum) April 19, 2023
The HTML `spellcheck` attribute checks for spelling errors. pic.twitter.com/SaOIf8fqq8 -
2. Download file
— Pratham (@Prathkum) April 19, 2023
The download attribute will let you download the file specified in the href attribute when a user clicks on the hyperlink
Sometimes HTML is actually enough. pic.twitter.com/EYmesQoz18 -
3. Video thumbnail
— Pratham (@Prathkum) April 19, 2023
The "poster" attribute specifies an image to be shown while the video is downloading, or until the user hits the play button.
Like a YouTube thumbnail. pic.twitter.com/5pnWa6Q3uS -
4. Translate
— Pratham (@Prathkum) April 19, 2023
Use "translate" attribute and set its value to "no" for your company name.
So that in case, the webpage is translated into another language, your brand name will remain intact. pic.twitter.com/OQUyDHktVU -
5. Autocomplete input field
— Pratham (@Prathkum) April 19, 2023
The "autocomplete" attribute specifies whether a form or an input field should autocomplete on or off. pic.twitter.com/bG1w6JEePW -
6. Multiple files
— Pratham (@Prathkum) April 19, 2023
Using "multiple" attribute of the input element, a user is allowed to enter more than one value in the input field.
It is valid for type email and file only. pic.twitter.com/wZjoHLx1XN