Skip to main content

Posts

Showing posts from April, 2020

HTML Things you didn't know

Hello Everyone If you are reading that means you want to learn the HTML in deep. In this list, some tags, attributes, and properties of HTML elements are added. Possibly you didn't know them or maybe you know and using them in your website development. So let's start with our list Here is our list: Document Refresher : This is used in meta tag as an attribute http-equiv="refresh". If this is used in a meta tag then this meta tag will refresh the document in every given seconds. So if you want to refresh your document for some reason then it is a useful thing for you. example: < meta  http-equiv ="refresh"  content ="30" > here we have given 30 seconds so it will refresh in 30  seconds. Color Picker : This is useful to select a color from a color picker.it will apply in the input tag. In the input tag if you put type="color"  then it gives a color picker to select a color. example: < input type =" color "&

HTML Attributes You May Not Be Using

Hello everyone in this blog we will see some HTML Attributes which is very useful but many of you don't know or never use them.  So for your better understanding, we will see some attributes with examples. for that here is the list 1. contenteditable :  This is the first attribute that is useful and you never use it .this attribute belongs to "Global Attributes". It specifies whether the content of an element is editable or not.  When the contenteditable attribute is not set on an element, the element will inherit it from its parent example: < p  contenteditable ="false" > This is an noneditable paragraph. < /p > 2. download :  The download attribute specifies that the target will be downloaded when a user clicks on the hyperlink. This attribute is only used if the href attribute is set. The value of the attribute will be the name of the downloaded file. There are no restrictions on allowed values, and the browser will automati