1. Home
  2. /
  3. Materialize
  4. /
  5. Tooltip Example

Tooltip Example - Materialize Typing CST Test

Loading…

Tooltip Example — Materialize Code

Demonstrates tooltips using Materialize classes.

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css" rel="stylesheet">
	<title>Materialize Tooltip</title>
</head>
<body class="container center-align">
	<a class="btn tooltipped" data-position="bottom" data-tooltip="I am a tooltip">Hover Me</a>

	<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
	<script>
		document.addEventListener('DOMContentLoaded', function() {
		var elems = document.querySelectorAll('.tooltipped');
		M.Tooltip.init(elems);
		});
	</script>
</body>
</html>

Materialize Language Guide

Materialize is a modern, responsive front-end CSS framework based on Google's Material Design guidelines. It provides prebuilt components, responsive grids, and JavaScript plugins to build web interfaces quickly.

Primary Use Cases

  • ▸Responsive websites and web apps
  • ▸Landing pages with Material Design look
  • ▸Admin dashboards
  • ▸Rapid prototyping
  • ▸Projects needing ready-made JS components

Notable Features

  • ▸Material Design-compliant UI components
  • ▸12-column responsive grid system
  • ▸Pre-styled elements (buttons, forms, navbars, cards)
  • ▸JavaScript plugins for interactive components
  • ▸Sass-based customization

Origin & Creator

Developed by a community-led initiative inspired by Google’s Material Design, first released in 2014.

Industrial Note

Materialize is popular in educational projects, prototyping, and apps where a Material Design aesthetic is preferred, including dashboards and web apps.

More Materialize Typing Exercises

Materialize Counter ExampleMaterialize Navbar ExampleMaterialize Card ExampleMaterialize Modal ExampleMaterialize Tabs ExampleMaterialize Collapsible ExampleMaterialize Carousel ExampleMaterialize Floating Action Button ExampleMaterialize Progress Bar Example

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher