Tutorial Attribute title
Attribute title Digunakan untuk menentukan sebagai title atau informasi tambahan pada sebuah element yang sudah ditentukan.
Contoh Attribute title
<a href="#" title="Blog Tutorial">TrikSonic Blog</a>
<p title="Blog Tutorial">TrikSonic Blog</p>
<button title="ini adalah element button">button</button>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Demo Triksonic</title>
</head>
<body>
<a href="#" title="Blog Tutorial">TrikSonic Blog</a>
<p title="Blog Tutorial">TrikSonic Blog</p>
<button title="ini adalah element button">button</button>
</body>
</html>
Attribute Value
| Attribute |
Value |
Deskripsi |
title |
Teks |
Menampilkan teks berupa tooltip saat disorot oleh cursor |
Browser Support :
| Chrome | Ya |
| Safari | Ya |
| Firefox | Ya |
| Opera | Ya |
| IE | Ya |
| Edge | Ya |