Skip to main content

Google Icons

To use the Google Material Icons, add a <link> to the Material Icons stylesheet inside the <head> of your page.

Note: No downloading or installation is needed.

Example

The Material Icons stylesheet is linked in the head, then icons are placed with <i> elements that use the material-icons class and contain the icon name as text.

Prompt
An HTML page that adds Google Material Icons. In the <head>, link the Google Material Icons stylesheet. In the body, add several inline <i class="material-icons"> elements containing the icon names cloud, favorite, attachment, computer, and traffic.
Output: complete HTML page