Found 10878 Articles for Web Development

How to store a name permanently using HTML5 Local Storage?

Rishi Rathor
Updated on 25-Feb-2020 07:00:54

270 Views

The Local Storage is designed for storage that spans multiple windows and lasts beyond the current session. In particular, Web applications may wish to store megabytes of user data, such as entire user-authored documents or a user's mailbox, on the client side for performance reasons.HTML5 localStorage saves string data in the browser and lasts beyond the current session. localStorage stores the data, with no expiration, whereas sessionStorage is limited to the session only. When the browser is closed, the session is lost.The data won’t get deleted when the browser is closed. Here, we will save the name for example.You can ... Read More

How to create a multi-resolution favicon with GIMP?

Abhinanda Shri
Updated on 12-Mar-2020 12:24:07

1K+ Views

Favicons are generally 16x16, but these days we can multi-resolution favicons also. To create a multi-resolution favicon, first, you need to create the highest-resolution version of the favicon, with an image of 256 × 256 px. Reduce the size of multiple resolutions and export, 16x16, 32x32.Open GIMP and from the File menu, open the 32x32 version of the Favicon. After that rightclick on the image and Open the other Favicon icons as layers,After that Export the image as Favicon, with extension .ico and add it to the website using the following code −

How to redirect URLs with your Hosting Account?

Fendadis John
Updated on 25-Feb-2020 06:31:24

134 Views

You can easily redirect URLs to the settings under your hosting account. Let’s say you have a blogger blog and you want to redirect it to your website.A redirect automatically sends your visitors to another destination, within the same site or a new URL.Follow the below given steps to redirect URLs to your hosting account, Go to your hosting account and log in.Click Manage Web Hosting and reach the cPanel. Here, search the Domains section and click Redirects, Now, a section can be seen to add a redirect. Here, fill the following fields to redirect URL, TypeThe type of redirect ... Read More

How to set the favicon size in CSS rather than HTML attributes?

Jai Janardhan
Updated on 25-Feb-2020 06:32:28

2K+ Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size.You cannot add the size using CSS. The standards do not support adding Favicon size using CSS. Let’s add it using attributes,The result after adding Favicon above will be,

How to add a Favicon to Your WordPress Site?

George John
Updated on 30-Jul-2019 22:30:21

126 Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size. You need to include a Site Icon in WordPress to add a favicon to your WordPress site. Login to your WordPress website and from the left menu; click Appearance, and then Customize − After that, you will reach the Theme Customization section. Under that, the first sub-section is Site Identity. From there, you need to go to the Site Icon and upload the icon. The size here is 512x512, from which the ... Read More

What are free Online Favicon Generators?

Arushi
Updated on 25-Feb-2020 06:34:55

198 Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size. Creating it is not something to worry about. Online Favicon Generators easily gives options to create a Favicon for free on button click.Let us see some of the free online Favicon Generators, Favicon.ccFavicon.cc is a favicon creator and generator. Design or you can easily import a logo to design your favicon. You can also create animated Favicon here.Favicon-Generator.orgUsing this create and generate icons for the Web, Android, Microsoft, and iOS apps. Choose an image ... Read More

What are favicon best practices regarding size and format?

Paul Richard
Updated on 25-Feb-2020 06:36:21

3K+ Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size.The size of a favicon is 16x16 since it also gets displayed next to the URL of your site in a browser's address bar. It is visible on a users list of bookmarks and easily helps in recognizing the website from a list of websites.Here’s how you can spot the Favicon, The preferred size,    1. 16x16: For a web browser   2. 32x32: or taskbar shortcut icon   3. 96x96: For desktop shortcut iconHere’s how you can add ... Read More

How to create a favicon for your website?

Rishi Raj
Updated on 25-Feb-2020 06:37:29

347 Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size.Here, you can see the favicon, The size of a favicon is 16x16 since it also gets displayed next to the URL of your site in a browser's address bar. It is visible on a users list of bookmarks and easily helps in recognizing the website from a list of websites.To add a favicon icon, you need to create an icon, with size 16x16. Also, some websites provide options to create favicon icon from PNG, ... Read More

Does a favicon have to be 32x32 or 16x16?

Vikyath Ram
Updated on 25-Feb-2020 06:44:30

5K+ Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with a smaller size. The size of a favicon is 16x16, since it also gets displayed next to the URL of your site in a browser's address bar.The 16x16 size for Favicon is suitable for web browsers. But the size varies on multiple platforms and devices. The size is added using the sizes attribute.The preferred size,    1.16x16: For web browser   2. 32x32: or taskbar shortcut icon   3. 96x96: For desktop shortcut iconHere’s how you can add them ... Read More

What is the meaning of JavaScript void 0?

Kumar Varma
Updated on 30-Jul-2019 22:30:21

183 Views

The void operator is used to evaluate the given expression. After that, it returns undefined. It obtains the undefined primitive value, using void(0).If inserting an expression into a web page results in unwanted effect, then use JavaScript void to remove it. Adding JavaScript:Void(0), returns the undefined primitive value.The void operator is used to evaluate the given expression. After that, it returns undefined. It obtains the undefined primitive value, using void(0).We used JavaScript:void(0) above to prevent the page from reloading when the button is clicked the first time.It only works when the button will be clicked twice. If it is clicked ... Read More

Advertisements