Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Title attribute

/* title attribute */
/* you can use title attribute in: image, elements, or inputs etc. */
/* you can also use title attribute in a parent element then all of its childrens and grandChildren will inherit it. It called ancestor title attribute */
/* example below is a parent title attribute or ancestor */
<div title="CoolTip">
  <p>Hovering here will show "CoolTip".</p>
  <p title="">Hovering here will show nothing.</p> /* you can use title="" so that this children will be exempted from its parent with a title attribute */
</div>
Source by search.brave.com #
 
PREVIOUS NEXT
Tagged: #Title #attribute
ADD COMMENT
Topic
Name
2+6 =