

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set the size of the icons in HTML
Use the sizes attribute to set the size of the icon in HTML. You can try to run the following code to implement sizes attribute −
Example
<!DOCTYPE html> <html> <head> <link rel = "icon" href = "my_icon.gif" type = "image/gif" sizes = "16x16"> </head> <body> <p>This is demo text.</p> <p>We set an icon here,</p> </body> </html>
- Related Questions & Answers
- Exact Radius and Size of iPhone App Icons
- Set the size of a Vector in Java
- Set the shape of the area in HTML
- Set the width of the element in HTML
- How to set the favicon size in CSS rather than HTML attributes?
- Set the size of the gap between CSS grid columns
- How to set the size of the browser window in Selenium?
- How to find the size of localStorage in HTML?
- Set the font size with CSS
- Set the language of the linked document in HTML
- What are the sizes of the icons in Android notifications action-buttons?
- How to set the size of the background image with JavaScript?
- How to use the Glyphicons icons in Bootstrap
- Set the language of the track text data in HTML
- How to set the name of the element in HTML?
Advertisements