HTML5 title, html5title
HTML5 title attributes:
This attribute specifies additional information about the element.
The tooltip text is usually displayed when you move the cursor over the element ).
Syntax structure:
<element title="text">
Browser support:
(1). IE browser supports this attribute.
(2) Google Chrome supports this attribute.
(3) Firefox supports this attribute.
(4). Safari supports this attribute.
(5) operabrowser supports this attribute.
Differences between HTML4.01 and html5:
(1) In HTML5, the title attribute can be used for any HTML element (it will verify any HTML element. But not necessarily useful ).
(2 ). in HTML4.01, The tabindex attribute cannot be used for: <base >,< head >,< html >,< meta >,< param >,< script >,< style>, and <title>.
Property value:
Value |
Description |
Text |
Specifies the tooltip text of the element ). |
Code example:
<! DOCTYPE html>
Original address: http://www.51texiao.cn/HTML5jiaocheng/2015/0618/4610.html
The most original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 10028.