DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 964,423 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Kurapati Mahesh
Kurapati Mahesh

Posted on

HTML: Display tooltip with only HTML

We can build awesome tooltips using CSS and other external libraries but we may not need to build every time.

<p title="This is a tooltip">It is a sample paragraph.</p>

<hr>

<abbr title="World Health Organization">WHO</abbr>
Enter fullscreen mode Exit fullscreen mode

Output:

Image description

Image description

Thanks.

Top comments (0)

What image format should you use in your next project? πŸ€”