The title attribute of an HTML tags gives a suggested title for the element, so that the behavior of this attribute will depend upon the element that carries it. It is regularly displayed as a tooltip when cursor comes over it or while the element is busy loading.
<!DOCTYPE html>
<html>
<head>
<title>The title Attribute Example</title>
</head>
<body>
<h4 title="Hello HTML!">Title Heading</h4>
</body>
</html>
This will produce the following result when mouseovered:
Title Heading (with mouse over)
No comments:
Post a comment