Web Development Articles

Page 799 of 801

How to create a multi-resolution favicon with GIMP?

Abhinanda Shri
Abhinanda Shri
Updated on 12-Mar-2020 2K+ 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 −

Read More

Bootstrap complex form layout for combined vertical/inline fields with HTML

karthikeya Boyini
karthikeya Boyini
Updated on 04-Mar-2020 341 Views

Bootstrap form for combined vertical/ inline fields − Left side Right side longer forms shorter forms shorter forms shorter forms shorter forms Right

Read More

How can I alter the color of an HTML5 canvas element using jQuery?

Daniol Thomas
Daniol Thomas
Updated on 04-Mar-2020 339 Views

To alter the color of an HTML5 canvas, use −document.getElementById("ID").style.background = red;You can also try the following −var ctx = canvas.getContext('2d'); ctx.fillStyle = "#FF0000"; ctx.fill();

Read More

How to download all images on a web page at once?

Smita Kapse
Smita Kapse
Updated on 25-Feb-2020 2K+ Views

Chrome Extensions eases your work since it provides more features. To download all images on a web page at once, use a Chrome Extension.Download the Image Downloader chrome extension, which is open source. After adding it to Chrome, you can see the following settings −An icon will be visible in the Chrome browser, which is for Image Downloading. Go to the webpage from where you need the images.On reaching the page, click the extension icon as shown below −Click on the images you want to download or select all from the checkbox. After that click Download and that’s it.Here, you ...

Read More

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

Vikyath Ram
Vikyath Ram
Updated on 25-Feb-2020 6K+ 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 are favicon best practices regarding size and format?

Paul Richard
Paul Richard
Updated on 25-Feb-2020 4K+ 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 ...

Read More

What are free Online Favicon Generators?

Arushi
Arushi
Updated on 25-Feb-2020 418 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

How to redirect URLs with your Hosting Account?

Fendadis John
Fendadis John
Updated on 25-Feb-2020 279 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

Where should jQuery code go in header or footer?

Ali
Ali
Updated on 20-Feb-2020 2K+ Views

It’s always a good practice to add jQuery code in footer i.e. just before the closing tag. If you have not done that, then use the defer attribute.Use defer attribute so the web browser knows to download your scripts after the HTML downloaded −The defer attribute is used to specify that the script execution occurs when the page loads. It is useful only for external scripts and is a boolean attribute.ExampleThe following code shows how to use the defer attribute −                 The external file added will load later, since we're using defer    

Read More

How do I put a jQuery code in an external .js file?

Ali
Ali
Updated on 20-Feb-2020 7K+ Views

Create an external JavaScript file and add the jQuery code in it.ExampleLet’s say the name of the external file is demo.js. To add it in the HTML page, include it like the following −                               Hello     Above we added jQuery using Google CDN and the external file was included after that.Add jQuery code in demo.js, since you wanted to place jQuery code −$(document).ready(function(){    alert(“amit”) });

Read More
Showing 7981–7990 of 8,010 articles
Advertisements