Horje

How to add Icon with specified size - HTML sizes Attribute

Note: The sizes attribute is not currently supported in any of the major browsers.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
  <link rel="icon" href="https://horje.com/avatar.png" type="image/png" sizes="16x16">
</head>
<body>

<h2>Hello world!</h2>
<p>Open this page in a <a href="https://horje.com" target="_blank">new window</a> to see the favicon.</p>
<p><b>Note:</b> The sizes attribute is not currently supported in any of the major browsers.</p>

</body>
</html>

Output should be:

How to add Icon with specified size - HTML sizes Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin