SIZ EDUCATION || 7 AMAZING HTML ATTRIBUTES YOU MAY NOT KNOW ABOUT by @ramizaly

in Steem Infinity Zone3 years ago

This post is specifically for my fellow web developers. Being a Web developer , I know how boring can using HTML be. Therefore, after doing my research I came up with these amazing HTML attributes which might make your life a tad bit easier.

WhatsApp Image 2021-10-08 at 11.00.44 PM.jpeg

1.Multiple


HTML's multiple property allows the user to input numerous values. It's a Boolean attribute that may be used on both input and select elements. Use the many property in HTML forms to support multiple file uploads. Email and file input formats are compatible with the multiple attribute.

WhatsApp Image 2021-10-08 at 10.58.49 PM.jpeg

2.Accept


The accept attribute accepts a comma-separated list of one or more file types, or unique file type specifiers, as its value, indicating which file types should be allowed. The accept property of the file input type is an attribute.

WhatsApp Image 2021-10-08 at 10.58.49 PM (1).jpeg

3.SpellCheck

The spellcheck attribute is an enumerated attribute that controls whether or not an HTML element is checked for mistakes. It works with HTML's "input" and "textarea" fields.

WhatsApp Image 2021-10-08 at 10.58.49 PM (2).jpeg

4.Translate

The translate attribute in HTML is used to indicate whether or not an element's content is translated. There are two values in this property, which are listed below: yes: This attribute is used to indicate whether or not the element's content may be translated.

WhatsApp Image 2021-10-08 at 10.58.49 PM (3).jpeg

5.Poster


When the user presses the play button or while the movie is downloading, the HTML poster Attribute is used to show the picture. If this image is not set, the first frame of the video will be used as a poster image.

WhatsApp Image 2021-10-08 at 10.58.49 PM (4).jpeg

6.Download


When a user clicks on a hyperlink, the HTML download Attribute is utilised to download the element. Only when the href property is set is it used. The value of the property will be the name of the downloaded file. The name of the downloaded file will be the attribute's value. The original filename is used if the value is deleted.

WhatsApp Image 2021-10-08 at 10.58.49 PM (5).jpeg

7.Contenteditable


In HTML, the contenteditable property is used to specify whether or not the content is editable, using the boolean values true or false. Because it is a Global Attribute, it may be applied to any element.

WhatsApp Image 2021-10-08 at 10.58.50 PM.jpeg

I hope this post was helpful. Thankyou for giving it a read.

Steem Infinity Zone Team
@cryptokraze | @arie.steem | @qasimwaqar | @vvarishayy | @suboohi

Footer.png

Click Here to Join Official SIZ Discord Channel

Discord
Twitter
Facebook

Sort:  
 3 years ago 

Good one Post dear friend you make a very good post thanks for sharing a good information with us. Your post is very informative for everyone. My best wishes for you.

Regards, Faran Nabeel

Wow mate.
I am enjoying HTML since three years but honestly saying that these all attributes are new for me.

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.029
BTC 66094.73
ETH 3446.09
USDT 1.00
SBD 2.66